I use the following command to convert my input file contents to lowercase
tr A-Z a-z < input > output
This command works fine.
But when I try to store the output in input file itself, it is not working. The input file is empty after executing the command. Why?
tr A-Z a-z < input > input