1
--- ./tools/xml_grep/xml_grepORIG 2012-05-17 12:24:59.000000000 +0200
2
+++ ./tools/xml_grep/xml_grep 2014-01-06 07:58:22.000000000 +0100
5
my $t= create_twig( %options);
8
- { foreach my $file (@ARGV)
10
+push @files, '-' unless @files; # fixes http://bugs.debian.org/691028
12
+ { foreach my $file (@files)
13
{ $current_file= $file;
15
if( $nb_results_per_file) { $nb_results_left_in_current_file= $nb_results_per_file; }