File: genfiles.ksh

package info (click to toggle)
eccodes 2.46.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 154,956 kB
  • sloc: cpp: 163,970; ansic: 26,310; sh: 22,006; f90: 6,854; perl: 6,361; python: 5,352; java: 2,226; javascript: 1,427; yacc: 854; fortran: 543; lex: 359; makefile: 279; xml: 183; awk: 66
file content (18 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/ksh

streams=`cat stream.table | awk '{print $2;}'`
#streams="enda ewda"
types=`cat type.table | awk '{print $2;}'`
types="me"

for stream in $streams
do
	for type in $types
	do
		file="grib1.$stream.$type.def"
		if [ ! -f $file ]
		then
			ln -s grib1.$type.def $file
		fi
	done
done