I have temp
file with some lower-case and upper-case contents.
Input
Contents of my temp
file:
hi
Jigar
GANDHI
jiga
I want to convert all upper to lower.
Command
I tried the following command:
sed -e "s/[A-Z]/[a-z]/g" temp
but got wrong output.
Output
I want it as:
hi
jigar
gandhi
jiga
What needs to be in the substitute part of argument for sed
?