Bash String to Lower or Upper Case
Jump to navigation
Jump to search
Internal
tr
awk
echo "${text}" | awk '{print tolower($0)}'
bash 4
sed
echo "${text}" | sed -e 's/\(.*\)/\L\1/'
echo "${text}" | awk '{print tolower($0)}'
echo "${text}" | sed -e 's/\(.*\)/\L\1/'