Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Emulating 'find's print0...
- X-seq: zsh-users 22126
- From: Meino.Cramer@xxxxxx
- To: zsh-users@xxxxxxx
- Subject: Emulating 'find's print0...
- Date: Wed, 23 Nov 2016 08:24:54 +0100
- 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
Hi,
cat-ting a list of file like so
cat files.txt | xargs md5sum | sort | .........
fails, if a files name contains blanks.
The tool find circumvent this by using print0
and xargs understands this via -0.
But I dont want to use find in this case, since the
list of files (files.txt) are hand made and a manual
selection of files.
Is there any way to emulate "-print0" efficiently
(that is: without accessing the drive again) ?
Thank you very much in advance for any help!
Cheers
Meino
Messages sorted by:
Reverse Date,
Date,
Thread,
Author