summaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-ecoin
blob: 18512b8d6601ad861b30b502511aa82c3e302338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 .%s colspan=\"5\" {-%s}}", $2, $3, getcls($4), $5
}
' data/extras