This commit is contained in:
Marc Delisle
2009-05-18 14:18:53 +00:00
parent 72bd3e8cd6
commit ce7be6d009
689 changed files with 0 additions and 198914 deletions

View File

@@ -1,23 +0,0 @@
#!/bin/sh
#
# $Id$
#
# Script to remove ^M from files for DOS <-> UNIX conversions
#
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;