推 Jcrt:用pipe | 05/19 15:22
→ huggie:請問 pipe 後面接什麼? 05/19 15:29
推 Jerr:接text filter, 例如 grep, awk, sed等等文字工具 05/19 15:34
推 Jerr:你說的例子我大概會用 ls *.psl | awk '$1!~/ABC/{print $0}' 05/19 15:37
→ huggie:感謝,我 awk 不會用啊. grep 也可以做濾掉的唷? 05/19 15:43
→ huggie:我把你給我的字串放入 $() 就可以做其他程式使用了.^^ 05/19 15:44