[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find.el --- Build a valid find(1) command with sexps
From: |
Richard Stallman |
Subject: |
Re: find.el --- Build a valid find(1) command with sexps |
Date: |
Tue, 01 Apr 2008 12:55:03 -0400 |
As the commentary states:
(find (prune (name ".svn" ".git" ".CVS"))
(and (or (name "*.pl" "*.pm" "*.t")
(mtime "+1"))
(fstype "nfs" "ufs")))
will become (un-wrapped):
"find '/home/phil/' \\( \\( -name '.svn' -or -name '.git' -or
-name '.CVS' \\) -prune -or -true \\) \\( \\( \\( -name '*.pl'
-or -name '*.pm' -or -name '*.t' \\) -or -mtime '+1' \\) -and \\(
-fstype 'nfs' -or -fstype 'ufs' \\) \\)"
That seems like a nice feature to add to Emacs,
though I think the entry point's name needs to be something longer
than just `find'.
Also, I think that it should be a function rather than a macro.
(That would require explicitly quoting the arguments.)
- Re: find.el --- Build a valid find(1) command with sexps,
Richard Stallman <=