[CentOS] regex question
Joseph L. Casale
jcasale at activenetwerx.comMon Jun 6 12:58:28 UTC 2011
- Previous message: [CentOS] php 5.3 packages
- Next message: [CentOS] regex question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey guys, I am trying to extract a pattern from a downloaded html file. I only want the first match printed, problem is I don't know how to force sed to exit after printing the first match of a capture group. Anyone know the trick to manipulating {p;q;} to print a capture group? Thanks, jlc
- Previous message: [CentOS] php 5.3 packages
- Next message: [CentOS] regex question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list