echo
Chris Torek
chris at mimsy.UUCP
Mon Oct 17 15:31:01 AEST 1988
In article <1577 at hp-sdd.HP.COM> allyn at hp-sdd.hp.com (Allyn Fratkin) writes:
>chars=`echo '\040\011\014\c'` # use -n with bsd echo
The 2BSD and 4BSD programs correctly do *not* interpret `\' escape
sequences by default. (Of course, they also do not ever do it....)
V8 and V9 echo use `-e' to enable escapes. Berkeley will no doubt
follow whatever POSIX says.
(Rather than mucking with echo, USG should have supplied printf(1).)
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.questions
mailing list