Path: utzoo!mnetor!uunet!mcvax!eutrc3!wswietse From: wswietse@eutrc3.UUCP (Wietse Venema) Newsgroups: comp.unix.questions Subject: Re: Help -- this seems simple! Message-ID: <219@eutrc3.UUCP> Date: 24 Apr 88 12:58:02 GMT References: <8932@eddie.MIT.EDU> Reply-To: wswietse@eutrc3.UUCP (Wietse Venema) Organization: Tech. Univ. Eindhoven, The Netherlands Lines: 24 In article <8932@eddie.MIT.EDU> rich@eddie.MIT.EDU (Richard Caloggero) writes: | | | Can anyone tell me why this script doesn't print anything? | | ---------- | #!/bin/sh | set -vx | names="-name '*.c' -o -name '*t*'" | find . \( $names \) -print | | ---------- | | It doesn't print anything! | Thanx in advance. Try eval: names="-name '*.c' -o -name '*t*'" eval find . \( $names \) -print -- uucp: mcvax!eutrc3!wswietse | Eindhoven University of Technology bitnet: wswietse@heithe5 | Dept. of Mathematics and Computer Science surf: tuerc5::wswietse | Eindhoven, The Netherlands.