Skip Menu |

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 119901
Status: new
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: vladimir [...] sirma.bg
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.52
Fixed in: (no value)



Subject: xml_grep: want to print both filename and match
I use xml_grep v0.9, part of XML::Twig v3.52. I want to extract some matches from a bunch of HTML files. This works fine: perl -S xml_grep --html --text --root 'div[@class=~/country|name/]' *.html But I also want to print the file name. grep has such option -h. However xml_grep's --file option prints ONLY the file name and conflicts with the --text option.