Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 12:35:49 GMT
From:      Jonathan McKeown <j.mckeown@ru.ac.za>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/135475: [patch] jot(1) manpage and behaviour differ
Message-ID:  <200906111235.n5BCZnjd012042@www.freebsd.org>
Resent-Message-ID: <200906111240.n5BCe3K2071401@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906111235.n5BCZnjd012042>