projects
/
MARC-Fast
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fd2dd86
)
dump sorted fields
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 8 Apr 2005 12:19:24 +0000
(12:19 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 8 Apr 2005 12:19:24 +0000
(12:19 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/MARC-Fast/trunk@3
49f9634a
-d7ec-0310-8e6b-
ec35c6cc8804
scripts/dump_fastmarc.pl
patch
|
blob
|
history
diff --git
a/scripts/dump_fastmarc.pl
b/scripts/dump_fastmarc.pl
index
5581b89
..
1257ac3
100755
(executable)
--- a/
scripts/dump_fastmarc.pl
+++ b/
scripts/dump_fastmarc.pl
@@
-20,7
+20,7
@@
print STDERR "$file has ",$marc->count," records...\n\n";
for my $mfn (1 .. $marc->count) {
my $rec = $marc->fetch($mfn) || next;
print "REC $mfn\n";
- foreach my $f (keys %{$rec}) {
+ foreach my $f (
sort
keys %{$rec}) {
print "$f\t",$rec->{$f},"\n";
}
print "\n";