Difference between revisions of "Map (command)"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code>[[map (Terraform)|map]]</code> ([[Terraform]]) deprecated since [[Terraform v0.12]] (May 2019). Use <code>[[tomap]]</code>
 
* <code>[[map (Terraform)|map]]</code> ([[Terraform]]) deprecated since [[Terraform v0.12]] (May 2019). Use <code>[[tomap]]</code>
 
* [[find]]
 
* [[find]]
 +
* [[Python: built-in functions]]
  
 
== See also ==
 
== See also ==

Revision as of 13:30, 31 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 %;'
ls *.c | awk '{ system("foo "$0"; bar "$0) }'

Other terms

See also

Advertising: