Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How much of it is zsh?
- X-seq: zsh-users 14969
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How much of it is zsh?
- Date: Wed, 24 Mar 2010 20:39:29 +0000 (UTC)
- 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
- Organization: SuccessTheory
- References: <Xns9D456D0F33B88zzappergmailcom@xxxxxxxxxxxx> <20100324120359.GA29984@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Nadav Har'El wrote in
news:20100324120359.GA29984@xxxxxxxxxxxxxxxxxxxxxxxxxx:
...
> shell's globbing is always done in advance. So if dir has a million
> files under it, this will expand into a command with a million arguments
> - which on some system can be a problem (too much memory used, or
> command too long). On the other hand, egrep -R finds the files
> recursively one by one, and never needs to hold the whole list of files
> in memory.
>
> I hope this answers your question.
>
> Nadav.
>
Yes Nadav that answers it perfectly , it was just that I've been using shells
for years w/o ever conceptualising what their role was!
--
zzapper
http://zzapper.co.uk/ Technical Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author