From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a75ee76f620d738,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-08 04:25:54 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!doc.ic.ac.uk!news.lif.icnet.uk!europa.lif.icnet.uk!coop From: coop@europa.lif.icnet.uk (Richard Coop) Newsgroups: comp.unix.osf.osf1 Subject: Bug in Korn Shell echo Date: 8 Jul 1994 11:19:45 GMT Organization: Imperial Cancer Research Fund Message-ID: <2vjcoh$qhb@dapsun.lif.icnet.uk> NNTP-Posting-Host: europa.lif.icnet.uk X-Newsreader: TIN [version 1.2 PL2] 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 --------------------------------