Files
phpmyadmin/scripts/remove_control_m.sh
Olivier Müller 139ec0a1fc * new script create-release.sh
* moved scripts to a new subdirectory "scripts/"
2001-08-08 16:25:10 +00:00

19 lines
263 B
Bash
Executable File

#!/bin/sh
if [ $# != 1 ]
then
echo "Usage: remove_control_m.sh <extension of files>"
echo ""
echo "Example: remove_control_m.sh php3"
exit
fi
for i in `find . -name "*.$1"`
do
echo $i
tr -d '\015' < $i > ${i}.new
rm $i
mv ${i}.new $i
done;