Ignore:
Timestamp:
09/07/10 11:02:03 (15 years ago)
Author:
Mathieu Morlighem
Message:

Fixed uppercase in Matlab enums (use awk instead of sed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/EnumDefinitions/Synchronize.sh

    r5683 r5687  
    141141        cat <<END > $ISSM_DIR"/src/m/enum/"$(echo $NAMEENUM".m")
    142142function macro=$(echo $NAMEENUM)()
    143 %$(echo $NAMEENUM | sed -e "s/[a-z]/\U&/g") - Enum of $(echo $NAME)
     143%$(echo $NAMEENUM | awk {'print toupper($1)'}) - Enum of $(echo $NAME)
    144144%
    145145%   WARNING: DO NOT MODIFY THIS FILE
Note: See TracChangeset for help on using the changeset viewer.