Shell實現數字互換和字母大小寫互換

文件內容以下:bash 123abc456 456def123 567adc789 789def567spa 要求輸出:code 456ABC123 123DEF456 789ADC567 567DEF789class 實現代碼以下:file #!/bin/bash while read line do part1=`echo $line | cut -c 1-3` p
相關文章
相關標籤/搜索