summaryrefslogtreecommitdiff
path: root/src/sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-02-16 23:36:41 +0000
committerJim Meyering <jim@meyering.net>1994-02-16 23:36:41 +0000
commit695581bf6503a2c9ac0a56f0ecebc4a99f7f8b47 (patch)
treeb022a7ba3b98c6fb0ecb690e02c1122a795e82d9 /src/sum.c
parent4923c48619ce3c83f5141b579ecd59fbd13353bc (diff)
downloadcoreutils-695581bf6503a2c9ac0a56f0ecebc4a99f7f8b47.tar.xz
* stty.c (main): Use getopt only to recognize long options.
Hand code the loop to detect -a, -g, -ag and -ga. Using getopt to detect the short options loses (because we have to ignore unrecognized options and we are allowing GNU getopt to permute) because e.g. `-tabs' is interpreted as a group of options, one of which is `-a'. Before, running `stty -tabs echo' gave this error: stty: when specifying an output style, modes may not be set Reported by Arne H. Juul.
Diffstat (limited to 'src/sum.c')
0 files changed, 0 insertions, 0 deletions