help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Filtering files in dired while invoking


From: suvayu ali
Subject: Re: Filtering files in dired while invoking
Date: Tue, 31 Aug 2010 10:33:47 -0700

On 31 August 2010 08:28, Ehud Karni <ehud@unix.mvs.co.il> wrote:
> On Mon, 30 Aug 2010 12:26:58 suvayu ali wrote:
>>
>> What I 'm looking for is to list files as they would be listed by,
>>
>> $ ls -l *.C *.h *.cxx
>
> The way to it in Emacs is to use {}.
> In your case it will be {*.C,*.h,*.cxx} or *.{C,h,cxx}.
>
> BTW. It is not an Emacs thing, but a shell one,
>     i.e. you can write ls -al *.{jpg,gif,pcx}
>     See the Bash man page under "Brace Expansion".
>

Thank you! I wasn't aware of this bash feature. :-p To get similar
behaviour I have extended globing turned on, but that doesn't won't
work with dired.

> Ehud.
>

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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