Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Bug in Korn Shell echo
@ 1994-07-08 11:18 Richard Coop
  1994-07-08 20:34 ` Torbj|rn Lindgren
  1994-07-11 16:03 ` Bill Scott WAS
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Coop @ 1994-07-08 11:18 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] 3+ messages in thread

end of thread, other threads:[~1994-07-11 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-08 11:18 Bug in Korn Shell echo Richard Coop
1994-07-08 20:34 ` Torbj|rn Lindgren
1994-07-11 16:03 ` Bill Scott WAS

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