Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: script within find
- X-seq: zsh-users 11835
- From: "Alexy Khrabrov" <deliverable@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: script within find
- Date: Tue, 11 Sep 2007 09:52:19 +0200
- In-reply-to: <7c737f300704251619y2566090cke411902726c27eec@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f300702232339keaffa58g99b1f51de74e0c8a@xxxxxxxxxxxxxx> <20070224100809.GA4828@xxxxxxxxxxxxxxx> <7c737f300704251214r602027a4u2d3533370fd317a9@xxxxxxxxxxxxxx> <20070425215214.GA8900@xxxxxxxxxxxxxxxxx> <20070425215843.GB8900@xxxxxxxxxxxxxxxxx> <7c737f300704251526m48df5c7dk6d32b340547e012d@xxxxxxxxxxxxxx> <17393e3e0704251538h10a32ff4xff95bb875d8ed193@xxxxxxxxxxxxxx> <7c737f300704251619y2566090cke411902726c27eec@xxxxxxxxxxxxxx>
A while ago I asked about generalization of the nested command in find
-exec. What if I have to execute a random series of shell commands
for each file found by find and given to exec -- how should I package
the series under zsh? I tried -exec (cmd1; cmd2; cmd3) and it seems
not to work -- find complains about ( and ) and loses ; ... Is it a
shell-sensitive problem or find-specific?
Cheers,
Alexy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author