Xref: utzoo comp.unix.ultrix:902 comp.sys.dec:1241 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!epb6!envbvs From: envbvs@epb6.lbl.gov (Brian V. Smith) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: wierd interaction in csh under Ultrix 3.0 Message-ID: <2557@helios.ee.lbl.gov> Date: 6 May 89 20:57:18 GMT Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb6.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 33 This is a really wierd interaction between echoing a quoted string and the csh feature to execute a command and return the output as a value. This works fine: unix> echo "hello" | od -c 0000000 h e l l o \n ________________________________________________________________________ So does this: unix> echo hello `date` | od -c 0000000 h e l l o S a t M a y 6 0000020 1 1 : 1 1 : 0 7 P D T 1 9 8 0000040 9 \n ________________________________________________________________________ But this has a serious problem: unix> echo "hello" `date` | od -c 0000000 377 h 377 e 377 l 377 l 377 o S a t M 0000020 a y 6 1 1 : 0 9 : 3 9 P D 0000040 T 1 9 8 9 \n Note the 377's (rubout with the eighth bit set)! What is happening here? _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory We don't need no signatures! _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory