[ale] sed maybe?

Christopher Bergeron christopher at bergeron.com
Wed Jan 9 19:15:59 EST 2002


Hey guys, I'm trying to change every > char into a >linefeed  but I can't
seem to do it with sed.  Anyone know off the top of the head how to?

<htmltag>  ->  <htmltag>\n

?

i tried:  sed '/>/,/>\n/' filename and i got a strange result.  I tried
escaping the ">" as well, but that produced the same thing.  Any tips?

TIA,
CB


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list