procmail
[Top] [All Lists]

sed hint needed

2001-08-30 13:51:11
THe sed utility is giving me a different behavior under Sed 3.02 and Debian 2.2, than Sed 2.05 and Red Hat 5.1

sed -n 1l dist

used to get me the first line of the file called dist.

Now it gets me the first line with an appended $ symbol, evidently representing the Newline.

So if the dist file contains

        joe(_at_)aol(_dot_)com
        same(_at_)cs(_dot_)com

I used to get joe(_at_)aol(_dot_)com, and now I get joe(_at_)aol(_dot_)com$

Is there something I can tweak to have sed drop the $ symbol ?

Thanks

mark
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>