in reply to Re: grep return the entire file not the line which matches
in thread grep return the entire file not the line which matches
#!/usr/bin/perl $en=EN-1000-0003-3; print "\$en is $en\n"; --------- $en is -1006
since -1006 is true then the grep in the OP will return all from the source array as stated.
|
|---|