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

        Of course, the above doesn't work and I'm looking for an
alternative.  This is freebsd's sed so I don't need a general
solution.

        Thanks,
        --Mat

-- 
The Brain: We're going to a place where the sun never sets, the size
of your wallet matters, and actors and actresses slave all day!
Pinky: We're going to Denny's?

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

Reply via email to