diff options
author | dds <dds@FreeBSD.org> | 2006-11-06 15:11:50 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2006-11-06 15:11:50 +0000 |
commit | 41f3c2053fb177055691c8f832a4a9cc62c3c65b (patch) | |
tree | bda309685456bbe12ea67a0fac550092564989fd /usr.bin/jot/jot.1 | |
parent | 9463ede042c21b113792c1aadb5d0651507b7786 (diff) | |
download | FreeBSD-src-41f3c2053fb177055691c8f832a4a9cc62c3c65b.zip FreeBSD-src-41f3c2053fb177055691c8f832a4a9cc62c3c65b.tar.gz |
Use a more sensible default of 1 or -1 when only the start and
end values are specified.
PR: bin/68981
Submitted by: Stefan `Sec` Zehl
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/jot/jot.1')
-rw-r--r-- | usr.bin/jot/jot.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.1 b/usr.bin/jot/jot.1 index 1aa0d62..77cebb4 100644 --- a/usr.bin/jot/jot.1 +++ b/usr.bin/jot/jot.1 @@ -115,7 +115,7 @@ conflict, the lower value is used. If fewer than three are specified, defaults are assigned left to right, except for .Ar s , -which assumes its default unless both +which assumes a default of 1 or -1 if both .Ar begin and .Ar end @@ -171,6 +171,10 @@ a function in APL. .Ex -std .Sh EXAMPLES The command +.Dl jot - 1 10 +.Pp +prints the integers from 1 to 10, +while the command .Dl jot 21 -1 1.00 .Pp prints 21 evenly spaced numbers increasing from -1 to 1. |