summaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-ecoin
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-ecoin')
-rwxr-xr-xscripts/gen-ecoin12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/gen-ecoin b/scripts/gen-ecoin
new file mode 100755
index 0000000..9d39205
--- /dev/null
+++ b/scripts/gen-ecoin
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+gawk -v CC=$1 '
+BEGIN {
+ FS = "\t"
+ CC = toupper(CC)
+}
+
+$1 == CC {
+ printf "tr {td{-%s} td{-%s} td .have colspan=\"5\" {-%s}}", $2, $3, $4
+}
+' data/errors