Difference between revisions of "Map (command)"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
== Other terms ==
 
== Other terms ==
 
* [[MapReduce]]
 
* [[MapReduce]]
* <code>[[map (Terraform)]]</code> ([[Terraform]])
+
* <code>[[map (Terraform)|map]]</code> ([[Terraform]]) deprecated since [[Terraform v0.12]] (May 2019). Use <code>[[tomap]]</code>
 
* [[find]]
 
* [[find]]
  

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

Other terms

See also

Advertising: