- Timestamp:
- 08/02/12 15:25:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/enlarge_my_files.sh
r1840 r1841 76 76 nbfile=0 77 77 for file in `cat $1` ; do 78 ncdump -h ${file} | gawk '{if (match($0, /(byte|char|short|int|float|double) (.*)\(/, arr)) print arr[2] }' >> tmp_$$.txt 78 # ncdump -h ${file} | gawk '{if (match($0, /(byte|char|short|int|float|double) (.*)\(/, arr)) print arr[2] }' >> tmp_$$.txt 79 ncdump -h ${file} | grep -Ew "byte|char|short|int|float|double" | awk -F\( '{split($1,a," ") ; split($2,b,")") ; if (a[2] != b[1]) print a[2]}' >> tmp_$$.txt 79 80 let nbfile=nbfile+1 80 81 done … … 187 188 extratar=1 188 189 # Copy to output_tar directory 190 echo "====> COPY to tar command because find other variables ($varstoexcludefiltered) than t_inst_*" 191 echo "COPY to tar command because find other variables ($varstoexcludefiltered) than t_inst_*" >> $statusfile 189 192 cp $set $PATH_SIMU/output_tar 190 193 fi
Note: See TracChangeset
for help on using the changeset viewer.