Re: Grep RE for extracting XML attribute value
- From: pk <pk@xxxxx>
- Date: Thu, 17 Jan 2008 15:23:06 +0100
hemant.gaur@xxxxxxxxx wrote:
egrep "([ ]+|[^|]+)test([ ]*|[^|])=" my.xml does the test attribute
extraction.
This extracts *the whole line* where the test attribute is present, which is
not exactly what you asked in the first place (at least as I understood
it).
.
- References:
- Grep RE for extracting XML attribute value
- From: hemant . gaur
- Re: Grep RE for extracting XML attribute value
- From: hemant . gaur
- Grep RE for extracting XML attribute value
- Prev by Date: Re: Grep RE for extracting XML attribute value
- Next by Date: Re: How to copy a line that is 3 lines before a particular string
- Previous by thread: Re: Grep RE for extracting XML attribute value
- Next by thread: Re: Grep RE for extracting XML attribute value
- Index(es):