summaryrefslogtreecommitdiffabout
path: root/tests/aux/startcheck
blob: 6e849597be7410391973fb8a8b9769bbbf911e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# usage: startcheck FILE...

for file
do
    if [ -f $file ]; then
	echo "# $file"
	cat $file
    else
	echo >&2 "$0: $file does not exist"
	exit 1
    fi
done

exit 0


    

    
	

Return to:

Send suggestions and report system problems to the System administrator.