Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 23:06:26 -0400 (EDT)
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        freebsd-current@FreeBSD.ORG
Subject:   'bug' in /bin/sh's builtin 'echo'
Message-ID:  <Pine.GSO.3.95.980914230251.22520A-100000@eggbeater.cs.rpi.edu>

next in thread | raw e-mail | index | archive | help
I have been attempting to do some network installs of SGI IRIX 6.5
machines off of a -CURRENT machine.  IRIX 6.5 makes heavy use of 'echo
foo\c'.  By reading the manpage for echo it appears that '\c' is POSIX to
not print a newline (similar to -n).  In fact /bin/echo 'does the right
thing' without the '-e' option.  The shell builtin in /bin/sh however
requires '-e' to parse \c correctly.  For the moment I have inserted the
'#define eflag 1' into the 'echo.c' builtin.  Should this change make it
into the tree 'officially'?

--
David Cross


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95.980914230251.22520A-100000>