File: insertcheck

package info (click to toggle)
sprng 2.0a-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,308 kB
  • sloc: ansic: 30,353; fortran: 1,618; makefile: 575; cpp: 58; sh: 5
file content (14 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ -f $5 ]
then

  if ! [ -f ../gen$6_$1.data ]
  then
    echo $6 > ../gen$6_$1.data
    cat $1/$1.data >> ../gen$6_$1.data  
  fi

  echo echo >> $2
  echo echo $1: $3 >> $2
  echo "./$4 < gen$6_$1.data 2> /dev/null" >> $2

fi