Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ctrsol!gem.mps.ohio-state.edu!usc!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.unix.ultrix Subject: Re: csh echo problem with backquotes Keywords: csh, echo, backquotes Message-ID: <4027@helios.ee.lbl.gov> Date: 27 Oct 89 00:18:47 GMT References: <14174@jumbo.dec.com> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory Lines: 35 < < I'm having a problem with csh's echo command in combination with back-quote. < < % ls -l /usr/bin/csh < -r-xr-xr-x 1 root 94208 Nov 15 1988 /usr/bin/csh < < < % echo "`date` Start" > echoproblem < < % od -c echoproblem < 0000000 377 T 377 h 377 u 377 377 O 377 c 377 t 377 < 0000020 377 2 377 6 377 377 1 377 5 377 : 377 1 377 3 < 0000040 377 : 377 4 377 7 377 377 P 377 D 377 T 377 < 0000060 377 1 377 9 377 8 377 9 377 377 S 377 t 377 a < 0000100 377 r 377 t \n < 0000105 < [...] < Andy Hisgen < DEC Systems Research Center < hisgen@src.dec.com < DECSRC::HISGEN Wait a minute! You are from DEC and you don't know about this bug? 8-) Actually I am surprised that it hasn't been fixed yet, as it was reported in 3.0. Oh well. The problem is apparently in the 8-bit character i/o that was attempted in Ultrix 3.0. It is a known bug when using `` and "" together. Let's hope that it is fixed in the next update. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.