diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-10-11 10:06:48 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-24 17:03:35 +0100 |
commit | fc6825b231b43c12738fb65a9309cdecb67f6833 (patch) | |
tree | 50bb0b64a18e3a6b636ecc11f8d41b5778488d45 /thanks-gen | |
parent | 53883af063d13a628520615e12705bc6f3a549ec (diff) | |
download | coreutils-fc6825b231b43c12738fb65a9309cdecb67f6833.tar.xz |
seq: support inf last item more generally/efficiently
* src/seq.c (main): Call seq_fast for infinite last value.
This implicitly avoids format conversion on the
999999 -> 1000000 transition.
* src/seq.c (seq_fast): Generalize the buffer handling,
and adjust to handle the "inf" last value specifics.
* tests/misc/seq-precision.sh: A new test.
* tests/local.mk: Reference the new test.
Diffstat (limited to 'thanks-gen')
0 files changed, 0 insertions, 0 deletions