Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!mailrus!umix!umich!mibte!gamma!ulysses!thumper!faline!bellcore!tness7!petro!swrinde!pemrac!jim From: jim@pemrac.swri.edu (James Biard) Newsgroups: comp.sys.apollo Subject: Re: Help -- this seems simple! Message-ID: <103@pemrac.swri.edu> Date: 2 May 88 14:59:09 GMT References: <8932@eddie.MIT.EDU> Reply-To: jim@pemrac.UUCP (James Biard) Followup-To: comp.sys.apollo Organization: Southwest Research Institute, San Antonio, Texas Lines: 15 Keywords: bin/sh Summary: Answer to problem. Rich, You may have already got this or figured it out, but I found that you just need to add an eval to the script. Like below: #!/bin/sh set -vx names="-name '*.c' -o -name '*t*'" eval "find . \( $names \) -print" This clears up the problem, which seemed to be a too late sub. for names. Hope this was helpful. Jim Biard.