Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

convert capital letters to lowercase in shell script

x="HELLO"
echo $x  # HELLO

y=${x,,}
echo $y  # hello

z=${y^^}
echo $z  # HELLO
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #capital #letters #lowercase #shell #script
ADD COMMENT
Topic
Name
1+4 =