sed replacement

Jeff Kinz jkinz at kinz.org
Mon May 16 09:43:56 EDT 2005


On Mon, May 16, 2005 at 09:31:33AM -0400, Robert La Ferla wrote:
> BTW - That should have been:
> 
> cat myfile | sed -e "s/text/\n\ntext/"
> 
> but it still doesn't work...

echo "^M^M" > mynufile ; cat myfile >> mynufile 


simple, but it works.

-- 
Jeff Kinz, Emergent Research, Hudson, MA.



More information about the Discuss mailing list