11 lines
160 B
Bash
11 lines
160 B
Bash
#!/bin/sh
|
|
|
|
for file in `grep -l "exit;" *.php | grep -v fix.sh`
|
|
do
|
|
echo $file
|
|
cat $file | sed 's#exit;#exit();#' > temp.file
|
|
cp temp.file $file
|
|
done
|
|
|
|
|