how to lowercase everything in a text file and then output the result to a new file in bash script? for example the input file contains
a bC D E
output
a bc d e
Use tr command:
tr
tr '[:upper:]' '[:lower:]' < infile > outfile
'[:upper:]' '[:lower:]'
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
By posting your answer, you agree to the privacy policy and terms of service.
asked
3 years ago
viewed
275 times
active