map (command)
map
lines from stdin
to commands.
https://github.com/soveran/map/blob/master/README.md
ls *.c | xargs -I % sh -c 'foo %; bar %;'
ls *.c | awk '{ system("foo "$0"; bar "$0) }'
Other terms
See also
Advertising:
map
lines from stdin
to commands.
https://github.com/soveran/map/blob/master/README.md
ls *.c | xargs -I % sh -c 'foo %; bar %;'
ls *.c | awk '{ system("foo "$0"; bar "$0) }'
Advertising: