summaryrefslogtreecommitdiffstats
path: root/helper/string.inc
diff options
context:
space:
mode:
authorSimon Rettberg2013-07-29 13:43:34 +0200
committerSimon Rettberg2013-07-29 13:43:34 +0200
commit995be0d52ec3b4f75e9ac9f7a264c46ff02beeb4 (patch)
treeb2e9a27b6e75a138577098597212747a3707843a /helper/string.inc
parent[demo-server] Added hash check (md5) for downloaded files (not for unused (diff)
downloadtm-scripts-995be0d52ec3b4f75e9ac9f7a264c46ff02beeb4.tar.gz
tm-scripts-995be0d52ec3b4f75e9ac9f7a264c46ff02beeb4.tar.xz
tm-scripts-995be0d52ec3b4f75e9ac9f7a264c46ff02beeb4.zip
<BREAKING> Start to implement distribution specific module configs instead of
just packet-manager specific. This requires adapting the configs of all modules (but not their build scripts)
Diffstat (limited to 'helper/string.inc')
-rw-r--r--helper/string.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/helper/string.inc b/helper/string.inc
index 04809a93..4c6b9778 100644
--- a/helper/string.inc
+++ b/helper/string.inc
@@ -26,3 +26,12 @@ escape_search() {
escape_replace() {
sed -e 's/[\/&]/\\&/g'
}
+
+tolower () {
+ tr '[A-Z]' '[a-z]'
+}
+
+toupper () {
+ tr '[a-z]' '[A-Z]'
+}
+