File: %40%40R

package info (click to toggle)
auto-07p 0.9.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,180 kB
  • sloc: fortran: 22,644; f90: 19,340; python: 19,045; ansic: 11,116; sh: 1,079; makefile: 614; perl: 339
file content (23 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
rm -f fort.2
CFILE=
SFILE=
if ( test $# -eq 1 ) then
	CFILE="$1"
	if (test -r s.$1) then
		SFILE="$1"
	fi
elif ( test $# -eq 2 ) then
	CFILE="$1.$2"
	if (test -r s.$1) then
		SFILE="$1"
	fi
else
	CFILE="$1.$2"
	SFILE="$3"
fi
if ( test -n "$SFILE" -a -r c.$CFILE ) then
	echo s=\'$SFILE\' | cat - c.$CFILE | make -f $AUTO_DIR/cmds/cmds.make EQUATION_NAME=$1
else
	make -f $AUTO_DIR/cmds/cmds.make EQUATION_NAME=$1 < c.$CFILE
fi