diff options
Diffstat (limited to 'scripts/gen-ecoin')
-rwxr-xr-x | scripts/gen-ecoin | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen-ecoin b/scripts/gen-ecoin index 9d39205..18512b8 100755 --- a/scripts/gen-ecoin +++ b/scripts/gen-ecoin @@ -1,12 +1,14 @@ #!/bin/sh gawk -v CC=$1 ' +@include "scripts/getcls.awk" + BEGIN { FS = "\t" CC = toupper(CC) } $1 == CC { - printf "tr {td{-%s} td{-%s} td .have colspan=\"5\" {-%s}}", $2, $3, $4 + printf "tr {td{-%s} td{-%s} td .%s colspan=\"5\" {-%s}}", $2, $3, getcls($4), $5 } -' data/errors +' data/extras |