8 # ------------------------------------------------------------------------------------------
 
   10 #                         Utility script to test JMultiPDF.
 
   12 # ------------------------------------------------------------------------------------------
 
   15 if [ -z $JPP_DIR ]; then
 
   16     echo "Variable JPP_DIR undefined."
 
   21 source $JPP_DIR/setenv.sh $JPP_DIR
 
   25 set_variable   IO_FILE  ${script%%.sh}.dat  
 
   29     usage "$script [input/output file]"
 
   33     1) set_variable  IO_FILE  $1;;
 
   36 print_variable  IO_FILE
 
   38 if ( ! reuse_file $IO_FILE ); then
 
   40     $JPP_DIR/examples/JTools/JMultiPDF \
 
   48 if [[ -f $IO_FILE ]]; then
 
   50     $JPP_DIR/examples/JTools/JMultiPDF \