CVS commit: src/usr.bin/jot

2020-06-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Jun 14 01:26:46 UTC 2020

Modified Files:
src/usr.bin/jot: jot.c

Log Message:
Generate format after setting the prec value

Otherwise we end up with setting invalid printf format: "%.-1f" (from
"if (snprintf(p, sz, "%%.%df", prec) >= (int)sz)") for prec equal to -1,
which is not canonical (rejected by gcc and clang when used explicitly).

Detected by ASan (MKSANITIZER) for "jot 8".


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/jot/jot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/jot

2020-04-25 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr 25 11:11:33 UTC 2020

Modified Files:
src/usr.bin/jot: jot.1

Log Message:
Document the default values for options in a way that hopefully makes
much more sense.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/jot/jot.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/jot

2020-04-02 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Wed Apr  1 01:23:23 UTC 2020

Modified Files:

src/usr.bin/jot: jot.c

Log Message:

The manual page says:

 -r  Generate random data instead of sequential data, the default.

Adjust the default to produce random data instead of sequential data to match
the behaviour described in the man page.

--
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/jot/jot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


CVS commit: src/usr.bin/jot

2018-06-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun 25 14:29:17 UTC 2018

Modified Files:
src/usr.bin/jot: jot.1 jot.c

Log Message:
Don't require any arguments as the usage indicates; simplifies the code
and the documentation: now "jot" works like "jot -" used to (and continues
to). From Ingo Schwarze


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/jot/jot.1
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/jot/jot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/jot

2016-01-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Jan  4 23:56:22 UTC 2016

Modified Files:
src/usr.bin/jot: jot.1

Log Message:
Bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/jot/jot.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/jot

2016-01-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Jan  4 23:32:45 UTC 2016

Modified Files:
src/usr.bin/jot: jot.1

Log Message:
Add HISTORY and AUTHORS to jot

John A. Kunze requested to add himself as the author of jot
on the FreeBSD bugzilla with the following text:

  Please re-instate my name (as "John A. Kunze") as AUTHOR of the
  jot, rs, and lam utilities.  I wrote these in 1982, around or
  before the time that I worked with Jordan at UCB (he left to work
  at FreeBSD and later at Apple).  Thank you!

  -- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196786

While there add a note that this tool first appeared in BSD 4.2.
This information is based on the FreeBSD manual pages.

Patch submitted by Michal Mazurek .

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/jot/jot.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/jot

2011-01-05 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Jan  5 19:59:48 UTC 2011

Modified Files:
src/usr.bin/jot: jot.1

Log Message:
Add an example of generating a list of integers; make it the first
example.  Also add a reference to seq(1).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/jot/jot.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.