grep BOTH or ANY
时间:2006-08-18 来源:joey
     
  if you want search line include both patter A and pattern B:
  grep A filename|grep B
   
  
    if you want search line include patter A OR pattern B:
  
  
    grep -e A -e B filename
  
  
    egrep "A|B" filename
  
   
  
   相关阅读 更多 + 
    
  









