Huh? What's going on here?

Montana State mtsu at blake.acs.washington.edu
Mon Jul 24 19:20:25 AEST 1989


Huh?  What's going on here?  I'm trying to set the shell variable x to
the contents of the file /tmp/x, here's a script.

mVAX II, Ultrix 2.3, /bin/csh


Script started on Mon Jul 24 03:13:58 1989
caesar # set
argv	()
cwd	/user1/local/src/libg++/tests
history	200
home	/
notify	^G
path	(/etc /usr/etc /user /graphics/bin /etc /usr/etc /user /graphics/bin /user1/icsu6000/com . /usr/ucb /bin /usr/bin /usr/local/bin /user /usr/local/bin/graphics /usr/etc /usr/local/bin //bin /user1/icsu6000/com /usr/local/bin //bin /user1/icsu6000/com)
prompt	caesar # 
shell	/bin/csh
status	0
term	screen
user	icsu6000
caesar # cat /tmp/x
tBag*
tBag2*
tBitSet*
tBitString*
tComplex*
tCurses*
tDeque*
tFile*
tFix*
tFix16*
tFix24*
tInteger*
tLList*
tList*
tMap*
tObstack*
tPQ*
tPlex*
tQueue*
tRandom*
tRational*
tSet*
tSet2*
tStack*
tString*
tVec*
test0*
tgwrapper*
twrapper*
caesar # set x=`cat /tmp/x`
caesar # echo $x
tBag tBag.cc tBag.o tBag2 tBag2.cc tBag2.o tBag2 tBag2.cc tBag2.o tBitSet tBitSet.cc tBitSet.o tBitString tBitString.cc tBitString.o tComplex tComplex.cc tComplex.o tCurses tCurses.cc tCurses.o tDeque tDeque.cc tDeque.o tFile tFile.cc tFile.o tFix tFix.cc tFix.o tFix16 tFix16.cc tFix16.o tFix24 tFix24.cc tFix24.o tFix16 tFix16.cc tFix16.o tFix24 tFix24.cc tFix24.o tInteger tInteger.cc tInteger.o tLList tLList.cc tLList.o tList tList.cc tList.o tMap tMap.cc tMap.o tObstack tObstack.cc tObstack.o tPQ tPQ.cc 



tPQ.o tPlex tPlex.cc tPlex.o tQueue tQueue.cc tQueue.o tRandom tRandom.cc tRandom.o tRational tRational.cc tRational.o tSet tSet.cc tSet.o tSet2 tSet2.cc tSet2.o tSet2 tSet2.cc tSet2.o tStack tStack.cc tStack.o tString tString.cc tString.o tVec tVec.cc tVec.o test0 test0.h tgwrapper tgwrapper.cc tgwrapper.o twrapper twrapper.cc twrapper.o
caesar # pwd
/user1/local/src/libg++/tests
caesar # ^D
script done on Mon Jul 24 03:14:50 1989

Somehow a directory listing is getting in there...



More information about the Comp.unix.ultrix mailing list