type檔案內容如下:
testa a ABC
testa a-1 ABC
testa1 a-1 ACB
求,當變數等于a-1且滿足teata的條件,print出第三列的shell 命令,要怎么寫?
uj5u.com熱心網友回復:
字串為變數$,滿足testa,剛剛打錯啦
uj5u.com熱心網友回復:
當變數為a時,列印出:testa a ABC
testa a-1ABC
怎么實作列印結果為testa a ABC 只有這一行
uj5u.com熱心網友回復:
grep “$l” \ type轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/114831.html
標籤:疑難問題
上一篇:cnc西門子探頭程式
下一篇:筆記
