Cleaned up and merge other Linux snippit repo
Meged https://git.bprieshof.nl/brammp/linux into ./Linux
This commit is contained in:
6
Linux/Script-examples/VarModifiers.sh
Normal file
6
Linux/Script-examples/VarModifiers.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
option="${option// /}" #Removes Spaces
|
||||
option="${option/:/ }" #First : to Space
|
||||
option="${option//:/ }" #All : to Space
|
||||
option="${option//:}" #Removes :
|
||||
option="${option,,}" #Removes LowerCase
|
||||
option="${option//'"'}" #Removes "
|
||||
Reference in New Issue
Block a user