jw@sics.se (Johan Widen) (03/06/88)
sh and csh under UNIX allow a command to be executed to produce command
line arguments. I am talking about the `` syntax:
rm `cat xxx`
will remove all the files listed in file xxx.
The command
sets
recently published in comp.sources.unix makes this feature very desirable.
You can then say
rm `sets * -d *.zoo *.c`
to remove all files except those ending in '.zoo' and '.c'.
--
Johan Widen
SICS, PO Box 1263, S-164 28 KISTA, SWEDEN
Tel: +46 8 752 15 32 Ttx: 812 61 54 SICS S Fax: +46 8 751 72 30
Internet: jw@sics.se or {mcvax,munnari,ukc,unido}!enea!sics.se!jw