mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-23 04:12:06 +00:00
8037810110
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
17 lines
298 B
Bash
17 lines
298 B
Bash
#!/bin/sh
|
|
|
|
for filename in $*; do
|
|
if [ -f $filename ]; then
|
|
echo -n $filename
|
|
tr -d '\r' < $filename > ___$filename_d2u___
|
|
mv ___$filename_d2u___ $filename
|
|
echo " converted."
|
|
else
|
|
echo "$filename is not a file."
|
|
fi
|
|
done
|
|
|
|
echo
|
|
echo done.
|
|
|
|
# end of d2u ...
|