uniq: really support -z
Commit 894466cc5
(uniq: support -z) added support for NUL delimited
output. Unfortunately nobody told getopt32().
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
3b267e9925
commit
2dade4f18a
@ -64,7 +64,7 @@ int uniq_main(int argc UNUSED_PARAM, char **argv)
|
||||
skip_fields = skip_chars = 0;
|
||||
max_chars = INT_MAX;
|
||||
|
||||
opt = getopt32(argv, "cduf:+s:+w:+i", &skip_fields, &skip_chars, &max_chars);
|
||||
opt = getopt32(argv, "cduf:+s:+w:+iz", &skip_fields, &skip_chars, &max_chars);
|
||||
argv += optind;
|
||||
|
||||
input_filename = argv[0];
|
||||
|
Loading…
Reference in New Issue
Block a user