csh echo problem with backquotes

George Robbins grr at cbmvax.UUCP
Fri Oct 27 17:49:54 AEST 1989


In article <14174 at jumbo.dec.com> hisgen at jumbo.dec.com (Andy Hisgen) writes:
> 
> I'm having a problem with csh's echo command in combination with back-quote.
> The version of Ultrix we're running is 3.1, the csh is:
> % echo "`date` Start" > echoproblem
> 
> every other character in the output file is \377, according to od(1):

As has been pointed out, this is one of a number of quoting bugs that were
introduced by the changes to Ultrix/csh to support 8-bit transparency.  The
only known fix is to toss the new csh and either use a copy from a previous
release or use the /usr/new/csh (aka tcsh) which hasn't been improved in
this area.  The only real problem this causes is that this shell supports
and inactivity timout, so you may want to stick the setenv in your .login
to disable this...

-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr at uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)



More information about the Comp.unix.ultrix mailing list