Jan 31, 2003 #1 michdaw Programmer Nov 4, 2002 4 US HI, I have a data file that at the top has several lines that i want to remove. The lines start with "old" and "new". old 29: AND new 29: AND Any suggestions on how to remove these lines from my data file? :-D
HI, I have a data file that at the top has several lines that i want to remove. The lines start with "old" and "new". old 29: AND new 29: AND Any suggestions on how to remove these lines from my data file? :-D
Jan 31, 2003 #2 jamisar Programmer Jul 31, 2002 523 CH sed -e '/^old/d;/^new/d' filename ----------- Ohne Intelligenz bist Du ein Fiasko, ohne Technik ein Amateur und ohne Herz eine Maschine. [ Wladimir Horowitz ] Upvote 0 Downvote
sed -e '/^old/d;/^new/d' filename ----------- Ohne Intelligenz bist Du ein Fiasko, ohne Technik ein Amateur und ohne Herz eine Maschine. [ Wladimir Horowitz ]