Linux-ScriptExamples: added case examples to VarModufiers.sh

This commit is contained in:
2024-07-21 02:21:55 +02:00
parent f2ef31e22b
commit 916d1175b3

View File

@@ -1,6 +1,11 @@
option="${option// /}" #Removes Spaces
option="${option//'"'}" #Removes "
option="${option//:}" #Removes :
option="${option/:/ }" #First : to Space
option="${option//:/ }" #All : to Space
option="${option//:}" #Removes :
option="${option,,}" #Removes LowerCase
option="${option//'"'}" #Removes "
option="${option,}" #First to LowerCase
option="${option,,}" #All : to LowerCase
option="${option^}" #First : to UpperCase"
option="${option^^}" #All : to UpperCase"
option="${option~}" #First : reverse case"
option="${option~~}" #All : reverse cases"