Difference between revisions of "Map (command)"
Jump to navigation
Jump to search
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>map</code> lines from <code>[[stdin]]</code> to commands. | + | <code>[[wikipedia:map]]</code> lines from <code>[[stdin]]</code> to commands not package in Debian. |
https://github.com/soveran/map/blob/master/README.md | https://github.com/soveran/map/blob/master/README.md | ||
Line 7: | Line 7: | ||
ls *.c | [[xargs -I]] % sh -c 'foo %; bar %;' | ls *.c | [[xargs -I]] % sh -c 'foo %; bar %;' | ||
+ | |||
+ | ls *.c | awk '{ [[system]]("foo "$0"; bar "$0) }' | ||
== Other terms == | == Other terms == | ||
* [[MapReduce]] | * [[MapReduce]] | ||
− | * [[map (Terraform)]] | + | * <code>[[map (Terraform)|map]]</code> ([[Terraform]]) deprecated since [[Terraform v0.12]] (May 2019). Use <code>[[tomap]]</code> |
− | * [[find]] | + | * <code>[[find]]</code> |
+ | * [[Python: built-in functions]] | ||
== See also == | == See also == |
Latest revision as of 06:38, 15 March 2022
wikipedia:map
lines from stdin
to commands not package in Debian.
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[edit]
- MapReduce
map
(Terraform) deprecated since Terraform v0.12 (May 2019). Usetomap
find
- Python: built-in functions
See also[edit]
Advertising: