1 2 read input input=$( echo $input | tr 'a-z' 'A-Z' ) 本文转自 chomperwu 51CTO博客,原文链接:http://blog.51cto.com/chomper/1683322,如需转载请自行联系原作者