-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Summary
- Tool under test:
uu-nl(uutils coreutils) 0.3.0 @ 514291d - Reference: GNU
nl9.4 - Impact:
uu-nlexits with status 1 and prints an error when-bis provided multiple times (e.g.-ba -bt), while GNUnltreats the later flag as overriding the earlier one and succeeds. - Reproducer (no input files needed):
(built inside
printf 'one\ntwo\n' | /usr/local/bin/uu-nl -ba -bt
fuzz-utils:latest, Ubuntu 24.04 base)
Expected Result (GNU nl)
$ printf 'one\ntwo\n' | /usr/bin/nl -ba -bt
1 one
2 two
$ echo $?
0Actual Result (uu-nl)
$ printf 'one\ntwo\n' | /usr/local/bin/uu-nl -ba -bt
error: the argument '--body-numbering <STYLE>' cannot be used multiple times
$ echo $?
1naoNao89