Ignore:
Timestamp:
Feb 12, 2018 8:24:05 AM (4 years ago)
Author:
raasch
Message:

parameters are allowed in output commands (OC:)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r2789 r2799  
    2727# -----------------
    2828# $Id: palmrun 2718 2018-01-02 08:49:38Z maronga $
     29# parameters are allowed in output commands (OC:)
     30#
     31# 2718 2018-01-02 08:49:38Z maronga
    2932# bugfix: exit if no queue has been given neither with option -q nor in the
    3033# configuration file
     
    21882191          printf "\n\n  *** execution of OUTPUT-commands:\n$dashes"
    21892192       fi
     2193
     2194          # REPLACE PARAMETERS IN THE OUTPUT COMMAND WITH REAL VALUES
     2195       out_command[$i]=`echo  "${out_command[$i]}" | sed 's/{{/$/g' | sed 's/}}//g'`
     2196
    21902197       printf "\n  >>> ${out_command[$i]}"
    21912198       eval  ${out_command[$i]}
Note: See TracChangeset for help on using the changeset viewer.