On Thu, 7 Nov 2002 15:46:25 -0500
Mathew Kanner <[EMAIL PROTECTED]> wrote:

Hi,

>       I've been going nuts trying to figure out how to embed a
> newline in sed, and the man page just doesn't mean anything to me.
> 
> What I would like is
>       echo abc | sed -e's,b,\n'  to get
>       a
>       c

How about echo abc | tr 'b' '\n' ?

Cheers,
-- 
        Miguel Mendez - [EMAIL PROTECTED]
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
        NetBSD :: Unix without hype

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to