Difference between revisions of "Map (command)"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
https://github.com/soveran/map/blob/master/README.md
 
https://github.com/soveran/map/blob/master/README.md
 +
 +
 +
 +
ls *.c | [[xargs -I]] % sh -c 'foo %; bar %;'
  
 
== Other terms ==
 
== Other terms ==

Revision as of 12:50, 25 January 2022

map lines from stdin to commands.

https://github.com/soveran/map/blob/master/README.md


ls *.c | xargs -I % sh -c 'foo %; bar %;'

Other terms

See also

Advertising: