[ale] grrr, sed sucks!

Jason Day jasonday at worldnet.att.net
Sun May 11 13:34:52 EDT 2003


On Sat, May 10, 2003 at 06:01:58PM -0400, Christopher Bergeron wrote:
> Can anyone tell my this won't work:
> 
> sed     "s/></>^M</g"    content.xml

If you can use perl, try this:

perl -p -e -e 's/></>\n</g' content.xml
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list