Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with glob qualifier e
- X-seq: zsh-users 9393
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Problem with glob qualifier e
- Date: Tue, 06 Sep 2005 13:58:37 +0000
- In-reply-to: <200509060651.36809.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87u0gza316.fsf@xxxxxxxxxxxxxxxx> <200509052123.08360.arvidjaar@xxxxxxxxxx> <1050905190530.ZM30762@xxxxxxxxxxxxxxxxxxxxxxx> <200509060651.36809.arvidjaar@xxxxxxxxxx>
On Sep 6, 6:51am, Andrey Borzenkov wrote:
} Subject: Re: Problem with glob qualifier e
}
}
} On Monday 05 September 2005 23:05, Bart Schaefer wrote:
} > }
} > } (I do not know why xargs here won't process arguments seperated by
} > } spaces, it should)
} >
} > I'm not sure what you mean? xargs never processes arguments separated
} > by spaces. It always wants newlines or NULs.
}
} then manual page is wrong:
Ah, hmm, yes, you're right, and I've misremembered.
What I was thinking of is how xargs normally batches up its arguments.
One of the oft-stated reasons for using
find . -whatever ... | xargs something
rather than
find . -whatever ... -exec something {} \;
is that the latter runs something once for every file, whereas the
former runs it fewer times on groups of files.
However, my statement was correct for the case of `xargs -i' because the
manual page goes on to say:
--replace[=replace-str], -i[replace-str]
Replace occurences of replace-str in the initial arguments with
names read from standard input. Also, unquoted blanks do not
terminate arguments. If replace-str is omitted, it defaults to
"{}" (like for `find -exec'). Implies -x and -l 1.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author