Created
February 2, 2017 08:02
-
-
Save musaprg/97126328d769c6ddacf0a1af28d3d60d to your computer and use it in GitHub Desktop.
フラグとかの解析用
This file contains 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
echo --hoge=3 --fuga=3 --piyo=3 | awk '{for(i=0;i<$NF;i++){printf("%s\n",$i)}print $NF}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(C表記POSIX標準外らしいし正直使いたくないけど仕方なかった)