[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a feature I wish rc had



yes, these are all good suggestions, but they don't feel right
to me.  what i want is some notation for saying

	save (*.[ch] - y.tab.c xxx.*)

while, of course, would generate all .c and .h files other than
y.tab.c and anything that matched xxx.*.  note that, in this
hypothetical, the things after the - are not glob expaned but
just used to filter the list.

and while i could probably come up with a remove operation that
had the same semantics, it's missing the notational convenience.
on the other hand, i'm not sure i'd want to use a shell that had
such syntax in it.

(by the way:  i tend to dislike using eval to get around the
meta-character rules, but that's just my hangup.)