질문 그대로 ls -al 이렇게 쓰는 옵션이 있는가 하면 ls --help 이렇게도 쓰이 잖아요? 하이픈을 사용하는 옵션과 더블하이픈을 사용하는 옵션은 무슨 차이가 있길래 이런 식으로 구분이 되나요?
short options 는 POSIX standard (getopt()) long options 는 GNU extension (getopt_long())
https://en.wikipedia.org/wiki/Getopt
되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』
그때 그때 달라요. 관습적으로 마이너스 다음에는 한 글자, 마이너스 두개 다음에는 여러 글자가 오더군요.
세벌 https://sebuls.blogspot.kr/
음 ..
short options 는 POSIX standard (getopt())
long options 는 GNU extension (getopt_long())
https://en.wikipedia.org/wiki/Getopt
되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』
그때 그때 달라요.
그때 그때 달라요.
관습적으로 마이너스 다음에는 한 글자, 마이너스 두개 다음에는 여러 글자가 오더군요.
세벌 https://sebuls.blogspot.kr/