aboutsummaryrefslogtreecommitdiff
path: root/games/doom-hr/scripts/lowercase.sh
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-11-17 11:31:35 +0000
committerSimon Barner <barner@FreeBSD.org>2005-11-17 11:31:35 +0000
commitea25d514deaa3dfcd2b70acbd24a1daf22bd2ccf (patch)
tree91fa9e1d286c14d18ab0b7c4030d3a330947593b /games/doom-hr/scripts/lowercase.sh
parent87f78d5e86adcf130b649a00e7a671366956d5f2 (diff)
downloadports-ea25d514deaa3dfcd2b70acbd24a1daf22bd2ccf.tar.gz
ports-ea25d514deaa3dfcd2b70acbd24a1daf22bd2ccf.zip
Notes
Diffstat (limited to 'games/doom-hr/scripts/lowercase.sh')
-rw-r--r--games/doom-hr/scripts/lowercase.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/doom-hr/scripts/lowercase.sh b/games/doom-hr/scripts/lowercase.sh
new file mode 100644
index 000000000000..0a61219d046d
--- /dev/null
+++ b/games/doom-hr/scripts/lowercase.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for x in *; do
+ y=`echo $x | tr '[A-Z]' '[a-z]'`
+ if [ $x != $y ]; then
+ mv $x $y
+ fi
+done