From: millert Date: Sun, 27 Feb 2022 15:02:08 +0000 (+0000) Subject: Use ',' in custom separator example and change shell prompt to non-root. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0de6ec4f08e8bcbb85d7dc5925aaf8a793c18bde;p=openbsd Use ',' in custom separator example and change shell prompt to non-root. --- diff --git a/usr.bin/seq/seq.1 b/usr.bin/seq/seq.1 index 69d065e02d7..6434efad4b1 100644 --- a/usr.bin/seq/seq.1 +++ b/usr.bin/seq/seq.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: seq.1,v 1.2 2022/02/27 07:13:31 jmc Exp $ +.\" $OpenBSD: seq.1,v 1.3 2022/02/27 15:02:08 millert Exp $ .\" .\" Copyright (c) 2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -123,7 +123,7 @@ Display the verion number and exit. .Sh EXAMPLES Generate a sequence from 1 to 3 (inclusive) with a default increment of 1: .Bd -literal -offset indent -# seq 1 3 +$ seq 1 3 1 2 3 @@ -131,7 +131,7 @@ Generate a sequence from 1 to 3 (inclusive) with a default increment of 1: .Pp Generate a sequence from 3 to 1 (inclusive) with a default increment of -1: .Bd -literal -offset indent -# seq 3 1 +$ seq 3 1 3 2 1 @@ -140,7 +140,7 @@ Generate a sequence from 3 to 1 (inclusive) with a default increment of -1: Generate a sequence from 0 to 0.1 (inclusive) with an increment of 0.05 and padding with leading zeroes: .Bd -literal -offset indent -# seq -w 0 .05 .1 +$ seq -w 0 .05 .1 0.00 0.05 0.10 @@ -149,8 +149,8 @@ and padding with leading zeroes: Generate a sequence from 1 to 3 (inclusive) with a default increment of 1, and a custom separator string: .Bd -literal -offset indent -# seq -s " " 1 3 -1 2 3 +$ seq -s "," 1 3 +1,2,3 .Ed .Pp Generate a sequence from 1 to 2 (inclusive) with an increment of 0.2 and @@ -158,7 +158,7 @@ print the results with two digits after the decimal point (using a .Xr printf 3 style format): .Bd -literal -offset indent -# seq -f %.2f 1 0.2 2 +$ seq -f %.2f 1 0.2 2 1.00 1.20 1.40