Created
April 11, 2014 15:08
-
-
Save yuitest/10476459 to your computer and use it in GitHub Desktop.
Haskell っぽい zip 関数をもしシェルスクリプトでやりたいなら xargs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ seq 1 10 | xargs -P 1 -L 2 echo | |
# 出力結果 | |
1 2 | |
3 4 | |
5 6 | |
7 8 | |
9 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment