Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Emulating 'find's print0...
- X-seq: zsh-users 22130
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Emulating 'find's print0...
- Date: Wed, 23 Nov 2016 09:25:37 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Uo9jNCvgee0pSjYOQz5mHK1aJMHTj5CRx6irZ3B1m8I=; b=U+usJCOreZTsOW/UOfTkMGUK4OiKx/+MdHv+BdIgbjlYd6VRNAxPRNucp6pKWJtov6 cWnGgU8maIFWk8e7bchzs9AsnYVNQXceAKI4CSnAhOwsvj7zWfE2GqsoqgP6YUchuyM2 /wmA8UDJ2kLzVAXkL4gqgfxzrnBzXhj8A+0KhajihwhSDrtcHpJcy60v9pZP9OBb5NYU poyI50aEiks55DjMeCL+1Axtbej1IvONLhgzmOsX9w1GPcxo/o7kGCGWawM3ZCDq/1kx H5oF+WgTBhtwKqU4aDLebypYNrCdE67TyXORyRuKOVkEYWFlv3ZHX1soOus4RIKUSyPl AoTQ==
- In-reply-to: <CAHYJk3TtRRgL2AA3uG0413Nq=Sw3qh5ACcs21p9AR9=hnHXE8g@mail.gmail.com>
- 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
- References: <20161123072454.GA4898@solfire> <CAHYJk3TtRRgL2AA3uG0413Nq=Sw3qh5ACcs21p9AR9=hnHXE8g@mail.gmail.com>
On Wed, Nov 23, 2016 at 8:39 AM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On Wed, Nov 23, 2016 at 8:24 AM, <Meino.Cramer@xxxxxx> wrote:
>> Hi,
>>
>> cat-ting a list of file like so
>>
>> cat files.txt | xargs md5sum | sort | .........
>>
>> fails, if a files name contains blanks.
I'm surprised no one has yet mentioned zargs.
autoload -Uz zargs
zargs -- "${(@f)$(<files.txt)}" -- md5sum | ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author