Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rocky!wagner From: wagner@rocky.STANFORD.EDU (Juergen Wagner) Newsgroups: comp.unix.questions Subject: Re: mulltiword arguments in C-shell Message-ID: <702@rocky.STANFORD.EDU> Date: Tue, 27-Oct-87 23:11:21 EST Article-I.D.: rocky.702 Posted: Tue Oct 27 23:11:21 1987 Date-Received: Sat, 31-Oct-87 01:00:26 EST References: <2100@sputnik.COM> Reply-To: wagner@rocky.UUCP (Juergen Wagner) Distribution: na Organization: Stanford University Computer Science Department Lines: 9 Summary: use quotes! Why don't you use quotes in the output? Computing or selecting the values from $argv you want to keep can be done by building an index list $index. Later there is some output loop: foreach i ( $indices ) echo -n \"$argv[$i]\"" " end Juergen Wagner, (USENET) gandalf@portia.stanford.edu Center for the Study of Language and Information (CSLI), Stanford CA