Ignore:
Timestamp:
2013-11-26T16:43:56+01:00 (7 years ago)
Author:
clevy
Message:

[

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_MERGE_2013/NEMOGCM/SETTE/all_functions.sh

    r4245 r4316  
    132132# Add $VARNAME in namelist file ${EXE_DIR}/$1 in namelist group $NAMGRP 
    133133# on mac osx, replace sed --posix by gsed (available with mac port) 
    134 set -vx  
    135134                sed --posix "/${NAMGRP} /a\ ${VAR_NAME} " ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp || gsed --posix "/${NAMGRP} /a\ ${VAR_NAME} " ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
    136 set +vx 
    137135# if file not empty replace ${EXE_DIR}/$1 
    138136                if [ -s ${EXE_DIR}/$1.tmp ] ; then 
Note: See TracChangeset for help on using the changeset viewer.