Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JParser.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 # \author mdejong
4 #
5 version=1.0
6 script=${0##*/}
7 
8 # ------------------------------------------------------------------------------------------
9 #
10 # Example script for JParser
11 #
12 # ------------------------------------------------------------------------------------------
13 
14 if [ -z $JPP_DIR ]; then
15  echo "Variable JPP_DIR undefined."
16  exit
17 fi
18 
19 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
20 
21 if do_usage $*; then
22  usage "$script"
23 fi
24 
25 cat>input_file<<EOF
26 1 1
27 2 2
28 3 3
29 4 4
30 EOF
31 
32 echo "input file"
33 cat input_file
34 
35 echo "JParser:"
36 $JPP_DIR/examples/Jeep/JParser -! "`cat input_file`" -ab -T "hello world" --!
37 
38 rm -g input_file
exit
Definition: JPizza.sh:36
then echo
do set_variable OUTPUT_DIRECTORY $WORKDIR T
* usage
version
Definition: JCalibratePMT.sh:7
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null