Skip to content

Instantly share code, notes, and snippets.

@yuitest
Created April 11, 2014 15:08
Show Gist options
  • Save yuitest/10476459 to your computer and use it in GitHub Desktop.
Save yuitest/10476459 to your computer and use it in GitHub Desktop.
Haskell っぽい zip 関数をもしシェルスクリプトでやりたいなら xargs
$ 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