Howdy.
I'm trying to figure out how to use tr or sed to replace all the newline
characters in a text stream, as in `cat file | sed ...`
I've tried the following:
cat file | tr "\012" "\\n"
cat file | sed -e "{s/\n/\\n/}"
But neither of them work.
Any suggestions?
Thanks.
Hyrum
--
Need an Open Source Genealogy tool? Help write one!
http://sourceforge.net/projects/openancestry
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list