[ale] sed maybe?

Geoffrey esoteric at 3times25.net
Wed Jan 9 19:21:41 EST 2002


sed 's/>/>\^J/g'

Works for me.

Christopher Bergeron wrote:
> 
> 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.

--
Until later: Geoffrey		esoteric at 3times25.net

"...the system (Microsoft passport) carries significant risks to users
that
are not made adequately clear in the technical documentation available."
- David P. Kormann and Aviel D. Rubin, AT&T Labs - Research
- http://www.avirubin.com/passport.html

---
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