* new script create-release.sh

* moved scripts to a new subdirectory "scripts/"
This commit is contained in:
Olivier Müller
2001-08-08 16:25:10 +00:00
parent 71ce97775b
commit 139ec0a1fc
4 changed files with 71 additions and 0 deletions

18
scripts/remove_control_m.sh Executable file
View File

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