Dear Sir or Madam,


I found out that grep (GNU grep) 2.5.1 fails to perform the
following command:



grep -P '^[^=]+=[^=]+$' german.properties



Operation stops on memory access error.



Since the -P option says this should be equivalent to perl,
I wrote these lines of perl code, which perform fine:



#!/usr/bin/perl
open IN, "< german.properties";
while(<IN>){
 print if /^[^=]+=[^=]+$/;
}
close IN;



Yours,

Matthias Ronge



Reply via email to