[BACK]Return to jot.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / jot

Diff for /src/usr.bin/jot/jot.1 between version 1.7 and 1.8

version 1.7, 2001/07/20 19:09:45 version 1.8, 2002/11/14 02:57:27
Line 144 
Line 144 
 .Sh EXAMPLES  .Sh EXAMPLES
 The command  The command
 .Pp  .Pp
 .Dl jot 21 \-1 1.00  .Dl $ jot 21 \-1 1.00
 .Pp  .Pp
 prints 21 evenly spaced numbers increasing from \-1 to 1.  prints 21 evenly spaced numbers increasing from \-1 to 1.
 The ASCII character set is generated with  The ASCII character set is generated with
 .Pp  .Pp
 .Dl jot \-c 128 0  .Dl $ jot \-c 128 0
 .Pp  .Pp
 and the strings xaa through xaz with  and the strings xaa through xaz with
 .Pp  .Pp
 .Dl jot \-w xa%c 26 a  .Dl $ jot \-w xa%c 26 a
 .Pp  .Pp
 while 20 random 8-letter strings are produced with  while 20 random 8-letter strings are produced with
 .Pp  .Pp
 .Dl "jot \-r \-c 160 a z | rs \-g 0 8"  .Dl "$ jot \-r \-c 160 a z | rs \-g 0 8"
 .Pp  .Pp
 Infinitely many  Infinitely many
 .Xr yes 1 's  .Xr yes 1 's
 may be obtained through  may be obtained through
 .Pp  .Pp
 .Dl jot \-b yes 0  .Dl $ jot \-b yes 0
 .Pp  .Pp
 and thirty  and thirty
 .Xr ed 1  .Xr ed 1
 substitution commands applying to lines 2, 7, 12, etc. is  substitution commands applying to lines 2, 7, 12, etc. is
 the result of  the result of
 .Pp  .Pp
 .Dl jot \-w %ds/old/new/ 30 2 \- 5  .Dl $ jot \-w %ds/old/new/ 30 2 \- 5
 .Pp  .Pp
 The stuttering sequence 9, 9, 8, 8, 7, etc. can be  The stuttering sequence 9, 9, 8, 8, 7, etc. can be
 produced by suitable choice of precision and step size,  produced by suitable choice of precision and step size,
 as in  as in
 .Pp  .Pp
 .Dl jot 0 9 \- \-.5  .Dl $ jot 0 9 \- \-.5
 .Pp  .Pp
 and a file containing exactly 1024 bytes is created with  and a file containing exactly 1024 bytes is created with
 .Pp  .Pp
 .Dl jot \-b x 512 > block  .Dl $ jot \-b x 512 > block
 .Pp  .Pp
 Finally, to set tabs four spaces apart starting  Finally, to set tabs four spaces apart starting
 from column 10 and ending in column 132, use  from column 10 and ending in column 132, use
 .Pp  .Pp
 .Dl expand \-\`jot \-s, \- 10 132 4\`  .Dl $ expand \-\`jot \-s, \- 10 132 4\`
 .Pp  .Pp
 and to print all lines 80 characters or longer,  and to print all lines 80 characters or longer,
 .Pp  .Pp
 .Dl grep \`jot \-s \&"\&" \-b . 80\`  .Dl $ grep \`jot \-s \&"\&" \-b . 80\`
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr ed 1 ,  .Xr ed 1 ,
 .Xr expand 1 ,  .Xr expand 1 ,

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8