Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 15:02:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 135475] [patch] jot(1) manpage and behaviour differ
Message-ID:  <bug-135475-9-pL693PxvjB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-135475-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-135475-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D135475

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: 0mp
Date: Sat Sep 21 15:01:12 UTC 2019
New revision: 352578
URL: https://svnweb.freebsd.org/changeset/base/352578

Log:
  jot.1: Explain default argument values more precisely

  The way jot(1) defaults missing arguments doesn't match the behaviour
  described in the manpage, which states that with fewer than 3 arguments
  missing values are supplied from left to right.

  In fact, with one or two arguments, the last (s which is step size or see=
d)
  defaults to 1 (or -1 if begin and end specify a descending range), and th=
en
  omitted arguments are set to default starting with the leftmost until thr=
ee
  arguments are available.

  This is why `jot 2 1000` prints 1000 and 1001 instead of 1000 and 100.

  PR:           135475
  Submitted by: Jonathan McKeown <j.mckeown@ru.ac.za>
  Approved by:  doc (bcr)
  Differential Revision:        https://reviews.freebsd.org/D21736
  Event:                EuroBSDcon 2019

Changes:
  head/usr.bin/jot/jot.1

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-135475-9-pL693PxvjB>