Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/jot Add an example of generating a list of integers; ...



details:   https://anonhg.NetBSD.org/src/rev/3e4161930ef8
branches:  trunk
changeset: 760471:3e4161930ef8
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Jan 05 19:59:48 2011 +0000

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

diffstat:

 usr.bin/jot/jot.1 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 08933e3971b4 -r 3e4161930ef8 usr.bin/jot/jot.1
--- a/usr.bin/jot/jot.1 Wed Jan 05 19:34:27 2011 +0000
+++ b/usr.bin/jot/jot.1 Wed Jan 05 19:59:48 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: jot.1,v 1.10 2009/03/11 13:53:51 joerg Exp $
+.\"    $NetBSD: jot.1,v 1.11 2011/01/05 19:59:48 apb Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)jot.1       8.1 (Berkeley) 6/6/93
 .\"
-.Dd February 24, 2008
+.Dd January 5, 2010
 .Dt JOT 1
 .Os
 .Sh NAME
@@ -152,6 +152,10 @@
 a function in APL.
 .Sh EXAMPLES
 The command:
+.Dl "jot - 42 87 1"
+prints the integers from 42 to 87, inclusive.
+.Pp
+The command:
 .Dl "jot 21 \-1 1.00"
 prints 21 evenly spaced numbers increasing from \-1 to 1.
 .Pp
@@ -201,6 +205,7 @@
 .Xr ed 1 ,
 .Xr expand 1 ,
 .Xr rs 1 ,
+.Xr seq 1 ,
 .Xr yes 1 ,
 .Xr printf 3 ,
 .Xr random 3



Home | Main Index | Thread Index | Old Index