Changeset 1840 for TOOLS/PACK_IPSL/enlarge_my_files.sh
- Timestamp:
- 08/02/12 15:24:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/enlarge_my_files.sh
r1839 r1840 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 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 78 ncdump -h ${file} | gawk '{if (match($0, /(byte|char|short|int|float|double) (.*)\(/, arr)) print arr[2] }' >> tmp_$$.txt 80 79 let nbfile=nbfile+1 81 80 done … … 188 187 extratar=1 189 188 # 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_*" >> $statusfile192 189 cp $set $PATH_SIMU/output_tar 193 190 fi
Note: See TracChangeset
for help on using the changeset viewer.