What I want to do is just delete some lines from a text file, I know it's easy using copy and redirect function, but what I have to do is edit this file (delete the lines) directly, as new lines may be added to the text file during this period. Can AIX do this ?
# cat text
1:line1
2:line2
3:line3
4:line4
# xxxx.sh text <---- Is it possible?
#cat text
1:line1
2:line4
3:new line added by other processes