all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ehud Karni" <ehud@unix.mvs.co.il>
To: fatkasuvayu+linux@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Filtering files in dired while invoking
Date: Tue, 31 Aug 2010 18:28:56 +0300	[thread overview]
Message-ID: <201008311528.o7VFSu0I018719@beta.mvs.co.il> (raw)
In-Reply-To: <AANLkTi=3DFkTuuj8U358Sr6_tHUsEK+6yCPoHB32nL6bK_@mail.gmail.com> (message from suvayu ali on Mon, 30 Aug 2010 12:26:58 -0700)

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.


--
 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
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry



       reply	other threads:[~2010-08-31 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTi=3DFkTuuj8U358Sr6_tHUsEK+6yCPoHB32nL6bK_@mail.gmail.com>
2010-08-31 15:28 ` Ehud Karni [this message]
2010-08-31 17:33   ` Filtering files in dired while invoking suvayu ali
2010-08-30 19:26 suvayu ali
2010-08-30 20:19 ` Drew Adams
2010-08-30 23:40 ` suvayu ali
2010-08-31  6:10   ` Drew Adams
2010-09-27  1:33     ` Drew Adams
2010-08-31 12:17 ` Lei Wang
2010-08-31 17:40   ` suvayu ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008311528.o7VFSu0I018719@beta.mvs.co.il \
    --to=ehud@unix.mvs.co.il \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.