docs/135475: [patch] jot(1) manpage and behaviour differ

Jonathan McKeown j.mckeown at ru.ac.za
Thu Jun 11 12:40:04 UTC 2009


>Number:         135475
>Category:       docs
>Synopsis:       [patch] jot(1) manpage and behaviour differ
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 11 12:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan McKeown
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD vorkosigan.ru.ac.za 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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 seed) defaults to 1 (or -1 if begin and end specify a descending range), and then omitted arguments are set to default starting with the leftmost until three arguments are available.

>How-To-Repeat:

>Fix:
I have attached a patch to the manpage.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list