Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Bug in Korn Shell echo
@ 1994-07-08 11:19 Richard Coop
  0 siblings, 0 replies; only message in thread
From: Richard Coop @ 1994-07-08 11:19 UTC (permalink / raw)


Hi,

We are running DEC OSF/1 V1.3A, V1.2 Worksystem Software on our ALPHA boxes
and I seem to have stumbled on a bug in the Korn Shell implementation.

If you begin the PATH= declaration with /bin then the built in 'echo'
command fails to recognise escape sequences yet the built in 'print'
command is fine.


ie:

$ PATH="/usr/bin:/bin"
$ echo "no carriage return \c"                CORRECT BEHAVIOUR
no carriage return $

$ PATH="/bin:/usr/bin"
$ echo "no carriage return \c"                ERRONEOUS BEHAVIOUR
no carriage return \c
$


Yet 'print' works:

$ PATH="/bin:/usr/bin"
$ print "no carriage return \c"
no carriage return $



Anyone else experienced this?

--------------------------------
Richard Coop,
Systems Support,
Imperial Cancer Research Fund,
London, UK
--------------------------------



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-07-08 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-08 11:19 Bug in Korn Shell echo Richard Coop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox