Xargs
From Useful Things
Revision as of 16:05, 24 June 2015 by Milosivanovic (talk | contribs) (Created page with "== Build argument list from previous output == <pre> command | xargs ls -l </pre> == Run command per line of previous output == <pre> command | xargs -L1 ls -l </pre> == Run...")
Build argument list from previous output
command | xargs ls -l
Run command per line of previous output
command | xargs -L1 ls -l
Run piped command per line of previous output
command | xargs -L1 sh -c 'command2 "$0" | command3'