Open guraga opened 8 years ago
Test case.
mkdir test cd test touch a b c find . -type f -print0 > ../list_of_files
Command
xargs --null --arg-file=../list_of_files --max-args=1
will print content of file "../list_of_files":
./a ./b ./c
md5deep -0 -f ../list_of_files
will print
d41d8cd98f00b204e9800998ecf8427e ./a\0
where "\0" - NULL character. Program print hash of first file, but expected result is printing hashes of all files like:
d41d8cd98f00b204e9800998ecf8427e ./a\0 d41d8cd98f00b204e9800998ecf8427e ./b\0 d41d8cd98f00b204e9800998ecf8427e ./c\0
Test case.
Command
will print content of file "../list_of_files":
Command
will print
where "\0" - NULL character. Program print hash of first file, but expected result is printing hashes of all files like: