Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!cvl!umcp-cs!mark From: mark@umcp-cs.UUCP Newsgroups: net.unix Subject: Re: 'c' shell scripts Message-ID: <4427@umcp-cs.UUCP> Date: Tue, 13-Dec-83 23:11:44 EST Article-I.D.: umcp-cs.4427 Posted: Tue Dec 13 23:11:44 1983 Date-Received: Fri, 16-Dec-83 02:31:46 EST References: <14504@sri-arpa.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 11 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@umcp-cs ARPA: mark.umcp-cs@CSNet-Relay