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

Diff for /src/usr.bin/rs/rs.1 between version 1.6 and 1.7

version 1.6, 2000/11/09 17:52:34 version 1.7, 2002/02/13 08:33:47
Line 194 
Line 194 
 .Dq window  .Dq window
 format, as in  format, as in
 .Bd -literal -offset indent  .Bd -literal -offset indent
 % who | rs  $ who | rs
 .Ed  .Ed
 .Pp  .Pp
 This function has been incorporated into the  This function has been incorporated into the
Line 205 
Line 205 
 .Pp  .Pp
 To convert stream input into vector output and back again, use  To convert stream input into vector output and back again, use
 .Bd -literal -offset indent  .Bd -literal -offset indent
 % rs 1 0 | rs 0 1  $ rs 1 0 | rs 0 1
 .Ed  .Ed
 .Pp  .Pp
 A 10 by 10 array of random numbers from 1 to 100 and  A 10 by 10 array of random numbers from 1 to 100 and
 its transpose can be generated with  its transpose can be generated with
 .Bd -literal -offset indent  .Bd -literal -offset indent
 % jot \-r 100 | rs 10 10 | tee array | rs \-T > tarray  $ jot \-r 100 | rs 10 10 | tee array | rs \-T > tarray
 .Ed  .Ed
 .Pp  .Pp
 In the editor  In the editor
Line 225 
Line 225 
 .Pp  .Pp
 Finally, to sort a database by the first line of each 4-line field, try  Finally, to sort a database by the first line of each 4-line field, try
 .Bd -literal -offset indent  .Bd -literal -offset indent
 % rs \-eC 0 4 | sort | rs \-c 0 1  $ rs \-eC 0 4 | sort | rs \-c 0 1
 .Ed  .Ed
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr jot 1 ,  .Xr jot 1 ,

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