diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-01-03 11:13:15 -0400 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-01-03 11:13:15 -0400 |
| commit | 955bbcb8afa6fcf14b96444ee561e8d6a9adefef (patch) | |
| tree | 8c3ef4f4e15658eaf706b914016ecce503fcf72b /genafx-test.sh | |
Initial project commit
Diffstat (limited to 'genafx-test.sh')
| -rwxr-xr-x | genafx-test.sh | 26 |
1 files changed, 26 insertions, 0 deletions
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 |
