summaryrefslogtreecommitdiff
path: root/test/aux-fixed/4008.script
blob: e391a2bb2756946e46cc913b1e687f230be3bc78 (plain)
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

if [ x$1 = "x-o" ]
then
  shift
  action=$1
  shift
fi

if [ -r $1 ]
then
  echo "scanning file $1"
else
  echo "$1 not readable"
  exit 1
fi

case $action in
accept) ;;
reject) echo "VNAME found in file $1";;
pause3) sleep 3;;
esac