'c' shell scripts

mark at umcp-cs.UUCP mark at umcp-cs.UUCP
Wed Dec 14 14:11:44 AEST 1983


I don't know if this is best, but I use the following to set a 
csh variable to the contents of a file:
	set x = `cat file`
Note that those are backquotes, and of course you can run anything in
there, even pipes.
-- 
spoken:	mark weiser
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!mark
CSNet:	mark at umcp-cs
ARPA:	mark.umcp-cs at CSNet-Relay



More information about the Comp.unix mailing list