]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: add `seq inf` and `sleep inf` examples to texinfo
authorPádraig Brady <P@draigBrady.com>
Fri, 18 Dec 2020 14:49:27 +0000 (14:49 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 18 Dec 2020 14:54:57 +0000 (14:54 +0000)
commite5cb4aaa0b007fc1b3b7f0a97a73eb6347992b78
tree1740754316a06985415b8caf15442013468573e3
parent3e61d5dd315be3aa1982b66b4e137564c61c849f
doc: add `seq inf` and `sleep inf` examples to texinfo

* doc/coreutils.texi (seq invocation): Mention "inf" is supported,
and describe that it's handled specially to generate infinite
whole integer sequences.  Also mention that such infinite generation
is supported for integer steps up to 200.
(sleep invocation): Give `sleep inf` as an example to sleep forever.
* src/seq.c: Add a comment on SEQ_FAST_STEP_LIMIT, to say it's
reflected in the texinfo description.
doc/coreutils.texi
src/seq.c