diff options
author | Jim Meyering <meyering@redhat.com> | 2008-02-18 18:38:52 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-18 18:38:52 +0100 |
commit | b8108fd2ddf77ae79cd014f4f37798a52be13fd1 (patch) | |
tree | afecf622f9597ddf86f256adfe7ce15f581ce631 /NEWS | |
parent | 1d96b88c663881831438d9eceb7763a146d3ace3 (diff) | |
download | coreutils-b8108fd2ddf77ae79cd014f4f37798a52be13fd1.tar.xz |
seq: give a proper diagnostic for an invalid --format=% option
* src/seq.c (long_double_format): Handle '%' at end of string.
* tests/misc/seq [fmt-eos1, fmt-eos2]: New tests for the bug.
* NEWS: Mention this.
Reported by Pádraig Brady.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ GNU coreutils NEWS -*- outline -*- "rmdir --ignore-fail-on-non-empty" detects and ignores the failure in more cases when a directory is empty. + "seq -f % 1" would issue the erroneous diagnostic "seq: memory exhausted" + rather than reporting the invalid string format. + [bug introduced in coreutils-6.0] + ** Improvements ls --color no longer outputs unnecessary escape sequences |