grepDb.pl: Use parse mode 'extended'
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-bii_scripts/bin/grepDb.pl new-bii_scripts/bin/grepDb.pl
--- old-bii_scripts/bin/grepDb.pl 2022-09-28 11:06:45.284327243 +0200
+++ new-bii_scripts/bin/grepDb.pl 2022-09-28 11:06:45.284327243 +0200
@@ -266,10 +266,11 @@
sub parseDb
{ my ($st,$filename) = @_;
- my $r_h= parse_db::parse($st,$filename);
-
+ my $r= parse_db::parse($st,$filename,'extended');
+ my $r_h = $r->{'realrecords'};
my $rH_records;
my $rH_recName2recType;
+ print Dumper($r_h);
foreach my $recname (keys %$r_h)
{
foreach my $key (keys(%{$r_h->{$recname}->{FIELDS}}))
patch cc2b4bdaca002aa2f0cd7e0f9a4941cbc0ad4554
Author: Bernhard.Kuner@bessy.de
Date: Thu Oct 28 14:13:01 CEST 2021
* grepDb.pl: Use parse mode 'extended