Xref: utzoo comp.unix.questions:6670 comp.unix.wizards:7938 comp.sys.apollo:902 Path: utzoo!mnetor!uunet!yale!husc6!mit-eddie!rich From: rich@eddie.MIT.EDU (Richard Caloggero) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.apollo Subject: Help -- this seems simple! Message-ID: <8932@eddie.MIT.EDU> Date: 22 Apr 88 19:48:38 GMT Organization: MIT EE/CS Computer Facility, Cambridge, MA Lines: 42 Keywords: bin/sh (yuk) 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. ----- Results of running the above script ... ----- Script started on Fri Apr 22 15:40:09 1988 % % test.sh^U chmod a+x test.sh % test.sh names="-name '*.c' -o -name '*t*'" names=-name '*.c' -o -name '*t*' find . \( $names \) -print + find . ( -name '*.c' -o -name '*t*' ) -print % exit % script done on Fri Apr 22 15:41:02 1988 Could you mail me the answers since I don't read these groups. -- -- Rich (rich@eddie.mit.edu). The circle is open, but unbroken. Merry meet, merry part, and merry meet again.