Unix – tolower in bash, awk and sed

tr '[A-Z]' '[a-z]' #  to lower case
sed 's/]]/]/g' #  replace ]] with ]
awk '{print tolower($0)}' # change whole string to lower
sed 's/^[0-9]*//g' # replace all numbers with nothing

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *