Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Emulating 'find's print0...



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