feat(func): Convert text ucase, lcase
This commit is contained in:
@@ -39,6 +39,14 @@ getHostname() {
|
|||||||
(hostname -s)
|
(hostname -s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lowercase() {
|
||||||
|
echo "$1" | tr '[:upper:]' '[:lower:]'
|
||||||
|
}
|
||||||
|
|
||||||
|
uppercase() {
|
||||||
|
echo "$1" | tr '[:lower:]' '[:upper:]'
|
||||||
|
}
|
||||||
|
|
||||||
### functions
|
### functions
|
||||||
badParam() {
|
badParam() {
|
||||||
if [ "$1" = "null" ]; then
|
if [ "$1" = "null" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user