20191030
tr
#小写转换到大写 tr [a-z] [A-Z] < $file > $newfile #大写转换到小写 tr [A-Z] [a-z] < $file > $newfile
参考【参考资料1】
shell 文件大小写替换
原文:https://www.cnblogs.com/damahuhu/p/11764040.html