From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 17 03:40:28 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F7E616A4CE for ; Fri, 17 Dec 2004 03:40:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66D6743D45 for ; Fri, 17 Dec 2004 03:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBH3eSLq032565 for ; Fri, 17 Dec 2004 03:40:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBH3eS7Z032564; Fri, 17 Dec 2004 03:40:28 GMT (envelope-from gnats) Resent-Date: Fri, 17 Dec 2004 03:40:28 GMT Resent-Message-Id: <200412170340.iBH3eS7Z032564@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, A Wood Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E9F316A4CE for ; Fri, 17 Dec 2004 03:39:26 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CADA43D49 for ; Fri, 17 Dec 2004 03:39:26 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBH3dQ3C087719 for ; Fri, 17 Dec 2004 03:39:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iBH3dQSt087718; Fri, 17 Dec 2004 03:39:26 GMT (envelope-from nobody) Message-Id: <200412170339.iBH3dQSt087718@www.freebsd.org> Date: Fri, 17 Dec 2004 03:39:26 GMT From: A Wood To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/75175: jot duplicates numbers in simple invocation: jot 18 1 18 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 03:40:28 -0000 >Number: 75175 >Category: misc >Synopsis: jot duplicates numbers in simple invocation: jot 18 1 18 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 17 03:40:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: A Wood >Release: 5-STABLE >Organization: >Environment: FreeBSD host 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 20 01:56:53 EST 2004 root@host:/usr/obj/usr/src/sys/HOST i386 >Description: /usr/bin/jot duplicates numbers when called with reps > 17 and an upper bound parameter. The upper bound parameter is not always necessary, though. See the examples below. >How-To-Repeat: Note, -s is not necessary, but makes the output more terse: % jot -s ' ' 17 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 % jot -s ' ' 17 1 17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 % jot -s ' ' 18 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 % jot -s ' ' 18 1 18 1 2 3 4 5 6 7 8 9 10 10 11 12 13 14 15 16 17 [dup 10s] % jot -s ' ' 35 1 35 1 2 3 4 5 6 7 8 9 10 10 11 12 13 14 15 16 17 18 19 20 21 22 22 23 24 25 26 27 28 29 30 31 32 33 [dup 10s, 22s] % jot -s ' ' 26 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 25 [dup 25s] >Fix: >Release-Note: >Audit-Trail: >Unformatted: