mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
wc: implement files0-from option
When this option is present, the files argument is not processed. This option processes the file list from provided file, splitting them by the ascii NUL (\0) character. When files0-from is '-', the file list is processed from stdin.
This commit is contained in:
parent
572a505119
commit
6a6875012e
4 changed files with 155 additions and 20 deletions
BIN
tests/fixtures/wc/files0_list.txt
vendored
Normal file
BIN
tests/fixtures/wc/files0_list.txt
vendored
Normal file
Binary file not shown.
BIN
tests/fixtures/wc/files0_list_with_stdin.txt
vendored
Normal file
BIN
tests/fixtures/wc/files0_list_with_stdin.txt
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue