Revision: | 1.1.1.1 (vendor branch) |
Committed: | Fri Feb 3 07:12:45 2006 UTC (18 years, 6 months ago) by root |
Branch: | UPSTREAM |
CVS Tags: | UPSTREAM_2006_03_15, LAST_C_VERSION, STABLE, UPSTREAM_2006_02_22, difficulty_fix_merge_060810_2300, UPSTREAM_2006_02_03 |
Branch point for: | difficulty_fix |
Changes since 1.1: | +0 -0 lines |
Log Message: | initial import |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.1 | { |
2 | type = $1 + 0; | ||
3 | if (type == 99 || type == 100 || type == 113) { | ||
4 | if (type == 99) { | ||
5 | name = capitalize($2); | ||
6 | gsub("_", " ", name); | ||
7 | } else | ||
8 | name = capitalize($3); | ||
9 | |||
10 | printf("<tr><th>%s</th><td>%s</td><td>%d</td><td>%s</td></tr>\n", name, $10, $8, $4); | ||
11 | } | ||
12 | } | ||
13 | |||
14 | function capitalize(str) { | ||
15 | return toupper(substr(str, 1, 1)) substr(str, 2); | ||
16 | } |