Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: coop@europa.lif.icnet.uk (Richard Coop)
Subject: Bug in Korn Shell echo
Date: 8 Jul 1994 11:18:58 GMT	[thread overview]
Message-ID: <2vjcn2$qhb@dapsun.lif.icnet.uk> (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
--------------------------------



             reply	other threads:[~1994-07-08 11:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-08 11:18 Richard Coop [this message]
1994-07-08 20:34 ` Bug in Korn Shell echo Torbj|rn Lindgren
1994-07-11 16:03 ` Bill Scott WAS
read-only archive

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