Usenet comp.unix.osf.osf1 (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:19:45 GMT	[thread overview]
Message-ID: <2vjcoh$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:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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