Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
noglob + find
- X-seq: zsh-users 15444
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: noglob + find
- Date: Tue, 12 Oct 2010 15:09:18 -0400 (EDT)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
At some point recently, I gave in and tried 'noglob' (usually preferring
to quote things explicitly, even if it caused occasional annoyance).
But now I've run into trouble with:
alias find='noglob find'
$ find /tmp/tmp.* -name *.c -mtime -1
find `/tmp/tmp.*': No such file or directory
Is there a nice way to specify 'noglob'-like behavior for the arguments
after the first dashed argument? So that I can specify glob patterns as
the directories, but not have to quote the 'find' patterns?
--
Best,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author