]> git.ipfire.org Git - network.git/commitdiff
network: New function uppercase (very fast).
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Jun 2010 22:20:30 +0000 (00:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Jun 2010 22:20:30 +0000 (00:20 +0200)
functions.util

index 86d852c0b9d421ca7cf9a4c40420d70d3734b5fa..3f24b08949a648a4609861dc0112f7e4a39cc17b 100644 (file)
@@ -229,3 +229,9 @@ function assert() {
 
        return ${EXIT_OK}
 }
+
+function uppercase() {
+       local input
+       read input
+       echo "${input^^}"
+}