看板 Linux 關於我們 聯絡資訊
我想要用grep 指令,同時過濾「兩個條件」 比如說,我想抓出一行中,同時有提到 sta1 與 sta2 字眼, 但找了很久, 似乎文件都只提到單一條件 請問我的要求,grep可以滿足嗎... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.8.131.134
chiel:egrep 05/21 17:00
huggie:現在所有的 grep 不都是 egrep 了嗎 05/21 18:29
YuAnLee:grep -E = egrep 05/22 13:38