From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linc.cis.upenn.edu ([130.91.6.8]) by hawkwind.utcs.toronto.edu with SMTP id <2779>; Tue, 3 Nov 1992 17:43:41 -0500 Received: from SAUL.CIS.UPENN.EDU by linc.cis.upenn.edu id AA22175; Tue, 3 Nov 92 17:43:30 -0500 Return-Path: Received: from LOCALHOST.upenn.edu by saul.cis.upenn.edu id AA22431; Tue, 3 Nov 92 17:43:29 EST Posted-Date: Tue, 03 Nov 92 17:43:28 EST Message-Id: <9211032243.AA22431@saul.cis.upenn.edu> To: Paul Haahr Cc: rc@hawkwind.utcs.toronto.edu Subject: Re: a feature I wish rc had In-Reply-To: Your message of "Tue, 03 Nov 92 17:32:34 EST." <9211032232.AA02604@utopia.mv.us.adobe.com> Date: Tue, 3 Nov 1992 17:43:28 -0500 From: Mark-Jason Dominus > save (*.[ch] - y.tab.c xxx.*) > > note that, in this hypothetical, the things after the - are not glob > expanded Why not? Consider a `set-subtract' command, which is a little like `echo'. set-subtract [foo]... - [bar]... echoes all the words that are on the left of the `-' but not on the right. Then instead of > save ( *.[ch] - y.tab.c xxx.* ) use save `{ set-subtract *.[ch] - y.tab.c xxx.* } The globbing is just what you want.