Ignore:
Timestamp:
06/22/12 10:54:40 (12 years ago)
Author:
aclsce
Message:

Moved lmdzgrep function from *_update function to *_initialize function
for oasis and pisces component (because of bad behaviour on SX9).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/DRIVER/pisces.driver

    r1775 r1785  
    99supergrep () { 
    1010    grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
     11} 
     12 
     13# Local function to find parameters in LMDZ .def files 
     14 
     15lmdzgrep () { 
     16    grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    1117} 
    1218 
     
    3036{ 
    3137    IGCM_debug_PushStack "MBG_Update" 
    32  
    33     # Local function to find parameters in LMDZ .def files 
    34     lmdzgrep () { 
    35         grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    36     } 
    3738 
    3839    ##-- Restart configuration 
Note: See TracChangeset for help on using the changeset viewer.