Difference between revisions of "Map (command)"
Jump to navigation
Jump to search
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>map</code> lines from <code>[[stdin]]</code> to commands. | + | {{lowercase}} |
+ | <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 | ||
+ | |||
+ | |||
+ | ls *.c | [[xargs -I]] % sh -c 'foo %; bar %;' | ||
+ | |||
+ | ls *.c | awk '{ [[system]]("foo "$0"; bar "$0) }' | ||
== Other terms == | == Other terms == | ||
* [[MapReduce]] | * [[MapReduce]] | ||
− | + | * <code>[[map (Terraform)|map]]</code> ([[Terraform]]) deprecated since [[Terraform v0.12]] (May 2019). Use <code>[[tomap]]</code> | |
+ | * <code>[[find]]</code> | ||
+ | * [[Python: built-in functions]] | ||
== See also == | == See also == | ||
* {{xargs}} | * {{xargs}} | ||
− | |||
[[Category:Computing]] | [[Category:Computing]] |
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: