| Revision: | 1.3 |
| Committed: | Thu Jan 1 19:31:44 2004 UTC (21 years, 11 months ago) by greg |
| Branch: | MAIN |
| CVS Tags: | rad5R2, rad5R1, rad5R0, rad4R2P2, rad4R2P1, rad4R2, rad4R1, rad4R0, rad3R9, rad3R8, rad3R7P2, rad3R7P1, rad3R6P1, rad3R6 |
| Changes since 1.2: | +2 -2 lines |
| Log Message: | Renamed rview, lam, calc, and neat to rvu, rlam, icalc, and neaten |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | greg | 1.3 | .\" RCSid "$Id: cnt.1,v 1.2 2003/12/09 15:59:06 greg Exp $" |
| 2 | greg | 1.1 | .TH CNT 1 11/15/93 RADIANCE |
| 3 | .SH NAME | ||
| 4 | cnt - index counter | ||
| 5 | .SH SYNOPSIS | ||
| 6 | .B cnt | ||
| 7 | N .. | ||
| 8 | .SH DESCRIPTION | ||
| 9 | .I Cnt | ||
| 10 | counts from 0 to N-1, producing N lines of output. | ||
| 11 | If multiple arguments are given, | ||
| 12 | .I cnt | ||
| 13 | produces a nested array of values where the final counter | ||
| 14 | rotates fastest through its range. | ||
| 15 | .I Cnt | ||
| 16 | is most useful in conjunction with | ||
| 17 | .I rcalc(1) | ||
| 18 | to produce array values. | ||
| 19 | .SH EXAMPLE | ||
| 20 | To create a 3 by 5 array: | ||
| 21 | .IP "" .2i | ||
| 22 | cnt 3 5 | ||
| 23 | .SH AUTHOR | ||
| 24 | Greg Ward | ||
| 25 | .SH "SEE ALSO" | ||
| 26 | greg | 1.3 | neaten(1), rcalc(1), rlam(1), total(1) |