Mar 26, 2004 #1 mjuell Programmer Jun 26, 2003 17 NO Can someone help me with a command for deleting lines ending with tab ?..
Mar 26, 2004 #2 CaKiwi Programmer Apr 8, 2001 1,294 US Try sed '/<tab>$/d' infile where <tab> is a tab character. CaKiwi Upvote 0 Downvote
Mar 26, 2004 #3 hoinz MIS Jan 29, 2004 944 DE hi, do you insist on sed? what about grep? grep -v " $" your_file (there has to be typed a tab in front of $) Upvote 0 Downvote
hi, do you insist on sed? what about grep? grep -v " $" your_file (there has to be typed a tab in front of $)
Mar 26, 2004 #4 hoinz MIS Jan 29, 2004 944 DE CaKiwi, I hadn't seen your sed answer when I replied. But you are better with sed than me! Upvote 0 Downvote
Mar 26, 2004 Thread starter #5 mjuell Programmer Jun 26, 2003 17 NO Thanx. Cakiwi. Worked perfectly.! Upvote 0 Downvote