egrep

grep can only find one pattern, but egrep handles more.


/pe21/as52app/var/servers/prd2bes52/partitions/standard2> egrep 'noOfSubmitLine|APN|NPR' edge21App_20080110.log
[CRIT] 08/01/10 10:57:33.379    noOfSubmitLine: 1
[CRIT] 08/01/10 10:58:30.339    { call ?:=PKG_NP0006_PORT_REQ.INSERT_NPR(?,'000025302502','000004025302502','NWTC080000317','19662','TEL','TC','1','20080122','09:00','11:00','VDA','VDN07002588-01','Y',VDN07002588-01 19662 Y'?, ? ) }
[CRIT] 08/01/10 14:05:38.936    noOfSubmitLine: 1
[CRIT] 08/01/10 14:06:08.602    { call ?:=PKG_NP0006_PORT_REQ.INSERT_NPR(?,'000023877722','000004023877722','NWTC080000321','19323','TEL','TC','1','20080213','09:00','11:00','DATA','WFN07003914-01','Y',WFN07003914-01 19323 Y'?, ? ) }
[CRIT] 08/01/10 14:11:40.063    noOfSubmitLine: 1
[CRIT] 08/01/10 14:11:58.894    { call ?:=PKG_NP0006_PORT_REQ.INSERT_NPR(?,'000024436546','000004022267853','NWTC080000322','19302','TEL','TC','1','20080131','09:00','11:00','DATA','BPN07022415-02','Y',BPN07022415-02 19302 Y'?, ? ) }
[CRIT] 08/01/10 14:13:28.528    noOfSubmitLine: 1
[CRIT] 08/01/10 14:13:46.611    { call ?:=PKG_NP0006_PORT_REQ.INSERT_NPR(?,'000024580166','000004022264841','NWTC080000323','19302','TEL','TC','1','20080211','09:00','11:00','DATA','BPN07023703-01','Y',BPN07023703-01 19302 Y'?, ? ) }

你可能感兴趣的:(grep)