xargs: add file-read

This commit is contained in:
Dov Murik 2018-05-30 07:45:32 +00:00
parent eb1ada7a62
commit bbbff04e55

View File

@ -6,4 +6,7 @@ functions:
- code: echo yyy | sudo xargs -Ixxx /usr/bin/id - code: echo yyy | sudo xargs -Ixxx /usr/bin/id
suid-enabled: suid-enabled:
- code: echo yyy | xargs -Ixxx /usr/bin/id - code: echo yyy | xargs -Ixxx /usr/bin/id
file-read:
- description: This relies on the fact the the file doesn't contain a null char (ASCII 0).
code: xargs --arg-file=file_to_read -0 echo
--- ---