Mike Williams wrote:
On Friday 23 January 2004 19:43, Norbert Kamenicky wrote:


Since all the text is in one xml formated line, grep will
print complete text (if matches).
Some workaround is needed before grep ...

these steps are needed:


....

Or just add -o to grep :)

       -o, --only-matching
              Show only the part of a matching line that matches PATTERN.


yes, in case u like to have your answer hidden in <tags> and doesn't matter if some false matches occures (if searching words which are inside the tags ... there is plenty of them FYI )

noro


-- [EMAIL PROTECTED] mailing list



Reply via email to