Changeset 4085 for LMDZ6/trunk/create_make_gcm
- Timestamp:
- Mar 8, 2022, 8:44:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/create_make_gcm
r3232 r4085 137 137 # Check if file is a routine or main program 138 138 # i.e: look for the "program" keword preceeded by leading spaces 139 test=` ( head $fili | grep -i '^ *program' ) `139 test=` ( head -20 $fili | grep -i '^ *program' ) ` 140 140 # if it is not a main program, add it to the list 141 141 if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi … … 144 144 # Check if file is a routine or main program 145 145 # i.e. look for "program" keyword (with possibly some leading spaces) 146 test=` ( head $fili | grep -i '^ \{0,\}program' ) `146 test=` ( head -20 $fili | grep -i '^ \{0,\}program' ) ` 147 147 # if it is not a main program, add it to the list 148 148 if [ "$test" = "" ] ; then listlib=$listlib" "$fili ; fi
Note: See TracChangeset
for help on using the changeset viewer.