[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] grrr, sed sucks!



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