File: build_gribex.ksh

package info (click to toggle)
eccodes 2.45.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 154,456 kB
  • sloc: cpp: 162,953; ansic: 26,308; sh: 21,742; f90: 6,854; perl: 6,361; python: 5,172; java: 2,226; javascript: 1,427; yacc: 854; fortran: 543; lex: 359; makefile: 278; xml: 183; awk: 66
file content (12 lines) | stat: -rwxr-xr-x 146 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ksh

prov=$1
dest=$2

mkdir -p $dest

for file in $prov/*.html
do
  f=`basename $file`
  cat head.html $file tail.html > $dest/$f
done