unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to diff or ediff only "*.c" files in all sub-directories?
@ 2006-03-27 16:33 Jimmy Lao
  2006-03-28 11:46 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Jimmy Lao @ 2006-03-27 16:33 UTC (permalink / raw)


How to diff only "*.c" files in all sub-directories?

I have tried ediff which has a filter setting, but I don't know the way to 
display all files in all sub-directories in just one buffer.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to diff or ediff only "*.c" files in all sub-directories?
       [not found] <mailman.32.1143487344.2481.help-gnu-emacs@gnu.org>
@ 2006-03-28 11:20 ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2006-03-28 11:20 UTC (permalink / raw)


Jimmy Lao <jmlao@hotmail.com> wrote on Mon, 27 Mar 2006 16:33:55 +0000:
> How to diff only "*.c" files in all sub-directories?

It is not clear exactly what you want.  Supposing you have these files:

~/mydev/comms/foo.c
~/mydev/comms/bar.c
~/mydev/comms/lib/tcp.c
~/mydev/appl/braeburn.c

, with which other file should each of these be compared?

> I have tried ediff which has a filter setting, but I don't know the way
> to display all files in all sub-directories in just one buffer.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to diff or ediff only "*.c" files in all sub-directories?
  2006-03-27 16:33 How to diff or ediff only "*.c" files in all sub-directories? Jimmy Lao
@ 2006-03-28 11:46 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2006-03-28 11:46 UTC (permalink / raw)


> From: "Jimmy Lao" <jmlao@hotmail.com>
> Date: Mon, 27 Mar 2006 16:33:55 +0000
> 
> How to diff only "*.c" files in all sub-directories?

If you can exclude all or most of the other files with the "-x PATTERN"
option to Diff, that's the only way I know of.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-28 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-27 16:33 How to diff or ediff only "*.c" files in all sub-directories? Jimmy Lao
2006-03-28 11:46 ` Eli Zaretskii
     [not found] <mailman.32.1143487344.2481.help-gnu-emacs@gnu.org>
2006-03-28 11:20 ` Alan Mackenzie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).