[Top][All Lists]

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

Re: Filtering files in dired while invoking

From: Ehud Karni
Subject: Re: Filtering files in dired while invoking
Date: Tue, 31 Aug 2010 18:28:56 +0300

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".


 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <>    Better Safe Than Sorry

reply via email to

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