Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JParser.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3# \author mdejong
4#
5version=1.0
6script=${0##*/}
7
8# ------------------------------------------------------------------------------------------
9#
10# Example script for JParser
11#
12# ------------------------------------------------------------------------------------------
13
14if [ -z $JPP_DIR ]; then
15 echo "Variable JPP_DIR undefined."
16 exit
17fi
18
19source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
20
21if do_usage $*; then
22 usage "$script"
23fi
24
25cat>input_file<<EOF
261 1
272 2
283 3
294 4
30EOF
31
32echo "input file"
33cat input_file
34
35echo "JParser:"
36$JPP_DIR/examples/Jeep/JParser -! "`cat input_file`" -ab -T "hello world" --!
37
38rm -g input_file