From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,632615b996bda4a4,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-07-08 04:20:28 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!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.misc Subject: Bug in Korn Shell echo Date: 8 Jul 1994 11:18:58 GMT Organization: Imperial Cancer Research Fund Message-ID: <2vjcn2$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 --------------------------------