Rev 1502 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10 | reyssat | 1 | #! /bin/sh |
2 | |||
3 | cd `dirname $0` |
||
4 | |||
5 | echo "<p> |
||
6 | !! This file is automatically generated! Do not edit by hand. |
||
7 | Each command takes one line.<p> |
||
8 | In the following table, <tt>[color]</tt> |
||
9 | may be either a color name, or 3 integers between 0 and 255, separated by commas, |
||
10 | for the values of red,green,blue. |
||
11 | <p>\$table_header |
||
12 | <caption>Drawing commands</caption> |
||
13 | \$table_hdtr<th colspan=5>Name and syntax |
||
14 | \$table_hdtr<th colspan=2>Synonymes |
||
15 | <th colspan=3>Meaning</th></tr><tr><td><td colspan=5> |
||
16 | " |
||
17 | |||
18 | awk 'BEGIN {a=10} |
||
19 | substr($0,1,1)==":" {a=0} |
||
20 | {a++} |
||
21 | a==1 {print "$table_tr<td colspan=5 nowrap><tt>"substr($0,2)"</tt></td></tr>"} |
||
22 | a==2 {print "$table_tr<td colspan=2><tt>"$0" </tt></td>"} |
||
23 | a==3 {print "<td colspan=3>"$0"</td></tr><tr><td colspan=5>"} |
||
24 | ' commands |
||
25 | |||
26 | echo "\$table_end<p>" |
||
27 |