]> mj.ucw.cz Git - moe.git/commitdiff
A simple utility for printing score tables.
authorMartin Mares <mj@ucw.cz>
Fri, 8 Jun 2001 15:32:38 +0000 (15:32 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 8 Jun 2001 15:32:38 +0000 (15:32 +0000)
bin/print-score [new file with mode: 0755]

diff --git a/bin/print-score b/bin/print-score
new file mode 100755 (executable)
index 0000000..292ca59
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+[ -n "$1" ]
+sed <$1 's/^/   /' | a2ps -Ma4 -r --columns=1 --rows=1 --font-size=10 --borders=no -B -o /tmp/score.ps
+print /tmp/score.ps