zsh-users
 help / color / mirror / code / Atom feed
* Emulating 'find's print0...
@ 2016-11-23  7:24 Meino.Cramer
  2016-11-23  9:40 ` Andreas Perstinger
  2016-11-23 16:39 ` Mikael Magnusson
  0 siblings, 2 replies; 4+ messages in thread
From: Meino.Cramer @ 2016-11-23  7:24 UTC (permalink / raw)
  To: zsh-users

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-23 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23  7:24 Emulating 'find's print0 Meino.Cramer
2016-11-23  9:40 ` Andreas Perstinger
2016-11-23 16:39 ` Mikael Magnusson
2016-11-23 17:25   ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).