[CentOS] grep/sed help
Joseph L. Casale
JCasale at activenetwerx.comWed Jun 10 19:35:28 UTC 2009
- Previous message: [CentOS] grep/sed help
- Next message: [CentOS] grep/sed help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>If the line counts are constant you could do the reverse: > >grep -B 3 "\(E:\|D:\)" input.txt | grep Shadow Now that's cool, each case has to be separate so grep -B 3 "D:" input.txt or even the actual volume string for certainties sake is the ticket! Thanks Nate and Bill! jlc
- Previous message: [CentOS] grep/sed help
- Next message: [CentOS] grep/sed help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list