3 set alpha
= ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
)
8 if ( ( ${#argv} == 1 ) || ( ( ${#argv} == 2 ) && ( ${2} == "." ) ) ) then
10 rm -f GRIBFILE.???
>& /dev
/null
14 ln -sf ${f} GRIBFILE.
$alpha[$i3]$alpha[$i2]$alpha[$i1]
24 echo "RAN OUT OF GRIB FILE SUFFIXES!"
30 else if ( ${#argv} > 1 ) then
32 rm -f GRIBFILE.???
>& /dev
/null
37 ln -sf ${f} GRIBFILE.
$alpha[$i3]$alpha[$i2]$alpha[$i1]
47 echo "RAN OUT OF GRIB FILE SUFFIXES!"
54 else if ( ${#argv} == 0 ) then
57 echo " Please provide some GRIB data to link"
58 echo " usage: $0 path_to_grib_data/grib_data_root"