12 lines
182 B
Bash
12 lines
182 B
Bash
#!/bin/sh
|
|
|
|
for file in `grep -l '$FormTarget' *.php`
|
|
do
|
|
echo $file
|
|
cat $file | sed 's#$FormTarget#/#' > mwf.php
|
|
mv mwf.php $file
|
|
# echo -n "Next ? "
|
|
# read ans
|
|
done
|
|
|