[Top][All Lists]

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

Re: give me some syntax sugar, honey!

From: Paul Jarc
Subject: Re: give me some syntax sugar, honey!
Date: Fri, 09 Nov 2001 12:23:11 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

address@hidden wrote:
>       foo[12-21]  would expand to foo12, foo13, ... foo20, foo21

The [] syntax already has meaning, so it shouldn't be changed.  It
could be done with a different syntax, but maybe this will already
work for you:
eval "echo foo{$(seq -s, 12 21)}"
Beware that this will produce all such filenames, regardless of
whether those files exist.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]