Sep 30, 2005 #1 pho01 Programmer Mar 17, 2003 218 US What expression would you use to remove an equal sign (=) and and equal sign 20 (=20) at the end of the line? For some reason, in unix, the mail program automatically adds a "=" or "=20" at the end of the line, and i'd like to get rid of it. Thanks!
What expression would you use to remove an equal sign (=) and and equal sign 20 (=20) at the end of the line? For some reason, in unix, the mail program automatically adds a "=" or "=20" at the end of the line, and i'd like to get rid of it. Thanks!
Oct 3, 2005 #2 Chacalinc Vendor Sep 2, 2003 2,043 US sed 's/=\n/\n/' input.txt > output.txt sed 's/=20\n/\n/' input.txt > output.txt Chacal, Inc. Upvote 0 Downvote
Oct 4, 2005 Thread starter #3 pho01 Programmer Mar 17, 2003 218 US Thanks Chacal, Unfortunately, sed only allows up to max lines. on my machine, it only display the output up to 1122 lines. everything else got cut. Upvote 0 Downvote
Thanks Chacal, Unfortunately, sed only allows up to max lines. on my machine, it only display the output up to 1122 lines. everything else got cut.
Oct 4, 2005 Thread starter #4 pho01 Programmer Mar 17, 2003 218 US oops, wrong post Upvote 0 Downvote