start QA_11

This commit is contained in:
Marc Delisle
2007-07-18 15:55:11 +00:00
parent e2599e32c5
commit 609d38a9cd
689 changed files with 212947 additions and 0 deletions

23
scripts/remove_control_m.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/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;