Excerpts from mail: (13-Dec-99) Re: VC/RCS: Checking in files remotely & change 
comments. by Pete Forman
> A more robust method is to use tr to generate control characters, e.g.
>
> % echo 'a^b' | tr '^' '\012'
> a
> b

Yep, that works. Another possibility is to use printf instead. That will work
under all shells (except for VMS?).

$ printf "a\nb"
a
b

Reply via email to