Changeset 526 for palm/trunk/SCRIPTS/palmplot
- Timestamp:
- Mar 30, 2010 2:04:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmplot
r513 r526 7 7 # Last changes 8 8 # 16/03/10 - Rieke - initial revision 9 # 30/03/10 - Rieke - substituting double quotes (") with a character 10 # variable (dq) containing double quotes 9 11 10 12 … … 101 103 fi 102 104 103 # SETTING STRINGS IN QUOTATION MARKS - REQUIRED BY NCL105 # PROCESSING STRINGS 104 106 for a in $STRINGPARAMS 105 107 do 106 108 if [ "$key" = "$a" ] 107 109 then 110 # SUBSTITUTING DOUBLE QUOTES - REQUIRED BY NCL 111 value=`echo $value | sed 's/\"/\"+dq+\"/g'` 112 # SETTING ENTIRE STRING IN DOUBLE QUOTES - REQUIRED BY NCL 108 113 value=\"$value\" 109 114 break … … 117 122 # EXECUTING THE PARTICULAR NCL SCRIPT 118 123 cd $PALM_BIN/NCL 119 ncl $script $CMDLINE124 ncl 'dq=str_get_dq()' $script $CMDLINE 120 125 121 126
Note: See TracChangeset
for help on using the changeset viewer.