ack/util/opt/testopt

12 lines
201 B
Bash
Executable file

#!/bin/sh
: '$Id$'
while true
do
(echo ' mes 2,2,2
pro $foo,0';cat;echo ' end') >t.e
ack -Ropt=${1-opt} -O -c.m t.e;ack -c.e t.m
cat t.e
echo '===== next case (interrupt to stop) ====='
done