如何在Linux Shell中分割字串呢? 直接來看個範例吧! #!/bin/sh String1 = "AA BB CC" String2 = "DD;EE;FF" arr1=$(echo $String1 | tr " " "\n") ...
確定! 回上一頁