[ "$test1" == "enable" ] || ! test -p $pipe_file || rm -f $pipe_file
[ $tt1 == "enable" ] && ( ! test -p $pipe_file || rm -f $pipe_file )
#!/bin/bash
find . -name Makefile.POSIX | while read fname
do
echo "processing $fname"
awk '{
if(match($0, "CCFLAGS \+= \-O")) {
print "CCFLAGS += -O0" >> 222
}
else {
print $0 >> 222
}
}' < $fname
echo "finished processing $fname"
mv 222 $fname
done