From 9cad508b5c98ca1029460807249cafb712f28f1e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 29 Oct 2023 22:39:48 +0100 Subject: Migrate the site to GSP and a Makefile --- scripts/gen-ecoin | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/gen-ecoin (limited to 'scripts/gen-ecoin') 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 -- cgit v1.2.3