csh echo problem with backquotes

Brian V. Smith envbvs at epb2.lbl.gov
Fri Oct 27 10:18:47 AEST 1989


< 
< 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 at 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 at lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL, these non-opinions are all mine.



More information about the Comp.unix.ultrix mailing list