用sed、awk、grep同时匹配多个条件(与模式、或模式). 2015-11-26 原文. 同时匹配ABC 和123: sed -n '/ABC/{/123/p}'. awk '/ABC/&&/123/{ print $0 }'. grep -E '(ABC.
確定! 回上一頁