9cdd098ff477e02ed307675a4a1328001fdcbe20
[exim.git] / test / aux-fixed / 4007.script
1 #!/bin/sh
2
3 if [ x$1 = "x-o" ]
4 then
5   shift
6   action=$1
7   shift
8 fi
9
10 if [ -r $1 ]
11 then
12   echo "scanning file $1"
13 else
14   echo "$1 not readable"
15   exit 1
16 fi
17
18 case $action in
19 accept) ;;
20 reject) echo "VNAME found in file $1";;
21 esac
22