Changeset 530 for palm


Ignore:
Timestamp:
Apr 1, 2010 7:36:48 AM (14 years ago)
Author:
heinze
Message:

Bugfix concerning the treatment of special character * in NCL variables containing lists

Location:
palm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/DOC/tec/technical_documentation.html

    r529 r530  
    11<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
    22<html><head>
     3
    34
    45
     
    9293   
    9394    <tr>
     95      <td style="vertical-align: top;">01/04/10<br>
     96      </td>
     97      <td style="vertical-align: top;">RH<br>
     98      </td>
     99      <td style="vertical-align: top;">530<br>
     100      </td>
     101      <td style="vertical-align: top;">3.7a<br>
     102      </td>
     103      <td style="vertical-align: top;">B<br>
     104      </td>
     105      <td style="vertical-align: top;">Bugfix: treatment of special character * in NCL variables containing lists corrected<br>
     106      </td>
     107      <td style="vertical-align: top;">palmplot<br>
     108      </td>
     109    </tr>
     110<tr>
    94111      <td style="vertical-align: top;">31/03/10<br>
    95112      </td>
  • palm/trunk/SCRIPTS/palmplot

    r529 r530  
    1212    #                    blank separated lists instead of comma
    1313    #                    separated lists
     14    # 01/04/10 - Rieke - bugfix - treatment of special character *
     15    #                    in NCL variables containing lists corrected
    1416
    1517
     
    125127                 # SUBSTITUTING BLANKS WITH COMMAS IN
    126128                 # PARAMETERS CONTAINING LISTS OF VARIABLES
    127                  value=`echo $value | sed 's/ /,/g'`           
     129                 value=`echo $value | sed 's/ /,/g'`   
     130                 
     131                 # ALLOWING THE USAGE OF COMMA SEPARATED LIST AS WELL         
    128132                 if [[ "$value" == ${value#,} ]]
    129133                 then
     
    133137                 then
    134138                    value=$value,
    135                  fi
     139                 fi             
     140                 value=${value/%\*,,/\*,}                 
     141
    136142                 break
    137143              fi
Note: See TracChangeset for help on using the changeset viewer.