]> git.ipfire.org Git - thirdparty/coreutils.git/commit
nl: fix --section-delimiter handling of single characters
authorKOBAYASHI Takashi <a1415tk@aiit.ac.jp>
Mon, 14 Dec 2020 16:17:10 +0000 (16:17 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 15 Dec 2020 14:11:55 +0000 (14:11 +0000)
commit567fc2c2ad7b70d9c053413bd1a918f93bc41670
tree4f9cacfeb7da3e235ee815dbfdda54879fe64d83
parent1935528ce9eba1df285dc05fbb8cf3c083334078
nl: fix --section-delimiter handling of single characters

* src/nl.c (main): Enforce the POSIX specified
behavior of assuming ':' is specified after a single
character argument to -d.
* tests/misc/nl.sh: Add a test case.
* NEWS: Mention the bug fix.
NEWS
src/nl.c
tests/misc/nl.sh