Path: utzoo!attcan!uunet!jarthur!usc!zaphod.mps.ohio-state.edu!think!yale!mintaka!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: Re: csh programming problem Message-ID: <5998@star.cs.vu.nl> Date: 16 Mar 90 16:18:52 GMT References: <53408@bbn.COM> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatika, Amsterdam, the Netherlands Lines: 28 In article , scott@cs.odu.edu (Scott Yelich) writes: )... )eval f `repeat $#argv eval 'echo -n \"$1\"\ ; shift'` It fails: % set argv=('a\ b c') % cat chkargs #!/bin/sh for i do echo "<$i>" done % eval chkargs `repeat $#argv eval 'echo -n \"$1\"\ ; shift'` % What the hell is wrong with using the `:q' modifier anyway? )However, I still prefer ``foo "$@"'' for its simplicity. I prefer sh for other reasons. -- 1) Will 4.5BSD have wait5()? |Maarten Litmaath @ VU Amsterdam: 2) Sleep(3) should be sleep(2) again.|maart@cs.vu.nl, uunet!mcsun!botter!maart