On 11/7/02 12:46 PM, "Mathew Kanner" <[EMAIL PROTECTED]> wrote: > What I would like is > echo abc | sed -e's,b,\n' to get > a > c
A script of the form: echo abc | sed -e 's,b,\ ,' will work if the newline is escaped with a backslash and the remainder of the sed substitute is on the next line. If you run directly from the command line (not in a shell script) then you need two backslashes, the first one escapes the backslash for the interactive shell. Paul A. Scott mailto:pscott@;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message