jot.1 (32728) | jot.1 (47107) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 155 unchanged lines hidden (view full) --- 164.Pp 165and thirty 166.Xr ed 1 167substitution commands applying to lines 2, 7, 12, etc. is 168the result of 169.Dl jot -w %ds/old/new/ 30 2 - 5 170.Pp 171The stuttering sequence 9, 9, 8, 8, 7, etc. can be | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 155 unchanged lines hidden (view full) --- 164.Pp 165and thirty 166.Xr ed 1 167substitution commands applying to lines 2, 7, 12, etc. is 168the result of 169.Dl jot -w %ds/old/new/ 30 2 - 5 170.Pp 171The stuttering sequence 9, 9, 8, 8, 7, etc. can be |
172produced by suitable choice of precision and step size, | 172produced by suitable choice of step size, |
173as in | 173as in |
174.Dl jot 0 9 - -.5 | 174.Dl jot - 9 0 -.5 |
175.Pp 176and a file containing exactly 1024 bytes is created with 177.Dl jot -b x 512 > block 178.Pp 179Finally, to set tabs four spaces apart starting 180from column 10 and ending in column 132, use 181.Dl expand -`jot -s, - 10 132 4` 182.Pp 183and to print all lines 80 characters or longer, 184.Dl grep `jot -s \&"\&" -b \&. 80` 185.Pp 186.Sh SEE ALSO 187.Xr ed 1 , 188.Xr expand 1 , 189.Xr rs 1 , 190.Xr yes 1 , 191.Xr printf 3 , 192.Xr random 3 | 175.Pp 176and a file containing exactly 1024 bytes is created with 177.Dl jot -b x 512 > block 178.Pp 179Finally, to set tabs four spaces apart starting 180from column 10 and ending in column 132, use 181.Dl expand -`jot -s, - 10 132 4` 182.Pp 183and to print all lines 80 characters or longer, 184.Dl grep `jot -s \&"\&" -b \&. 80` 185.Pp 186.Sh SEE ALSO 187.Xr ed 1 , 188.Xr expand 1 , 189.Xr rs 1 , 190.Xr yes 1 , 191.Xr printf 3 , 192.Xr random 3 |