From 955bbcb8afa6fcf14b96444ee561e8d6a9adefef Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Thu, 3 Jan 2019 11:13:15 -0400 Subject: Initial project commit --- genafx-test.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 genafx-test.sh (limited to 'genafx-test.sh') diff --git a/genafx-test.sh b/genafx-test.sh new file mode 100755 index 00000000..99c48616 --- /dev/null +++ b/genafx-test.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +set -e + +baseout="$1" +shift 1 +fileset="$@" +listopts="-z -n named" + +cd src; + +javac -g AffixLister.java + +mv -t .. *.class + +cd .. + +java AffixLister $listopts -- $fileset > output/"$baseout".txt 2> output/"$baseout".err + +tail -n 2 output/"$baseout".err + +a2ps --file-align=virtual --header="Affixes" --tabsize=2 -E -g -o output/"$baseout".ps output/"$baseout".txt + +ps2pdf output/"$baseout".ps output/"$baseout".pdf + +mupdf output/"$baseout".pdf -- cgit v1.2.3