OpenBSD CVS

CVS log for src/usr.bin/jot/jot.1


[BACK] Up to [local] / src / usr.bin / jot

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Fri Aug 13 11:27:33 2021 UTC (2 years, 9 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.24: +16 -2 lines
Diff to previous 1.24 (colored)

Make -b, -c, and -b mutually exclusive.

Help/Feedback/OK schwarze@, tb@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 13 07:59:04 2021 UTC (2 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

The s argument isn't used as seed anymore, so increase readability by
renaming it to step, which matches the name in the code.

OK tb@

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 12 21:49:31 2016 UTC (7 years, 9 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.22: +28 -16 lines
Diff to previous 1.22 (colored)

Rewrite the paragraphs that describe how the last four arguments are
handled to make them easier to read and understand.

with help from jmc

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 5 13:49:19 2016 UTC (7 years, 9 months ago) by tb
Branch: MAIN
Changes since 1.21: +3 -4 lines
Diff to previous 1.21 (colored)

All four arguments can be omitted by specifying a dash.
While there, remove a superfluous 's'.

discussed with jmc

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 17 04:15:25 2016 UTC (7 years, 10 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.20: +3 -8 lines
Diff to previous 1.20 (colored)

Remove now obsolete parenthetical explanation (should have been part of
previous commit).

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 17 04:04:46 2016 UTC (7 years, 10 months ago) by tb
Branch: MAIN
Changes since 1.19: +3 -38 lines
Diff to previous 1.19 (colored)

1. Update manpage in view of the change of behavior I introduced in -r1.27.

The bounds are taken inclusive and -w %d doesn't change the output of
integer random sequences anymore.  This is the same behavior as that
of Linux and NetBSD, but differs from FreeBSD and OS X.

Issue reported by Philippe Meunier on misc@.

2 Fix a bug from the same commit observed by Otto: if the precision is 0,
values may be printed out of bounds.  Fall back to the old behavior if at
least one bound isn't an integer.

General agreement expressed by otto@, tedu@, jmc@, sobrado@
Help with checking other operating systems by sobrado@.

Manpage ok jmc@.
Bugfix discussed with otto@ on icb

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 4 23:21:28 2016 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +9 -2 lines
Diff to previous 1.18 (colored)

Add HISTORY and AUTHORS sections.
From the author John A. Kunze
via https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196786
and Michal Mazurek <akfaew at jasminek dot net>.
Correctness also verified from the CSRG archive CD.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 20 05:07:48 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Obvious .Xr fixes, found while testing mandocdb(8).

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 3 23:01:21 2011 UTC (12 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 31 19:20:11 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

convert to new .Dd format;

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 6 16:35:28 2005 UTC (18 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix example that uses rs(1)

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 1 07:04:10 2004 UTC (20 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.13: +122 -8 lines
Diff to previous 1.13 (colored)

Explain how jot does rounding and truncation. Help from jmc@

ok jmc@ millert@ deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 30 19:41:48 2003 UTC (20 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.12: +9 -5 lines
Diff to previous 1.12 (colored)

o From FreeBSD: use the max_value(u_int32_t) + 1 to divide the random number.
o Document and warn that seeding the random generator is no longer supported
  since arc4random is used as the RG.

ok jose@ millert@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 18 11:51:13 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

random numbers are obtained via arc4random(3), not random(3);
from FreeBSD PR 54879, forwarded by otto@;

ok otto@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 15 23:24:20 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.10: +42 -40 lines
Diff to previous 1.10 (colored)

jot.1:
- use .Bk/.Ek for SYNOPSIS
- sort options
- better -width for options list
- reword examples to make them clearer
- fix broken example, as reported by Takanori Isihara

jot.c:
- sync usage() with SYNOPSIS

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 10 09:12:10 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:09 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 14 02:57:27 2002 UTC (21 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.7: +11 -11 lines
Diff to previous 1.7 (colored)

use $ or # before commands in examples

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 20 19:09:45 2001 UTC (22 years, 10 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

we don't like:
o) .Pp before/after .Sh;
o) .Pp before/after .Sh;
o) .Nm without argument in SYNOPSIS;

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 8 01:38:51 2001 UTC (23 years, 2 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Print examples correctly

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 6 04:06:54 2000 UTC (23 years, 10 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Insert more missing .El directives. Our troff really should identify these and
spit out a warning.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 8 03:11:29 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Various cleanups and improvements.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 26 14:14:43 1999 UTC (24 years, 9 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.2: +99 -98 lines
Diff to previous 1.2 (colored)

new mdoc'd jot(1) man page

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:34:41 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:27 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:27 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.