From: Shawn Boyette Date: Tue, 23 Sep 2008 19:48:56 +0000 (+0000) Subject: tweaks X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=727653d1fd752c350b2319a78780604dcb52b155 tweaks --- diff --git a/marc-cleanup b/marc-cleanup index deb9f5f..8071de5 100755 --- a/marc-cleanup +++ b/marc-cleanup @@ -84,13 +84,13 @@ while (my $line = getline()) { # naked ampersands if ($line =~ /&/ && $line !~ /&\w+?;/) - { edit("Looks like naked ampersand", $line); next } + { edit("Naked ampersand", $line); next } # subfields can't be non-alphanumeric if ($line =~ /readline('yaz-cleanup>'); + my $line = $term->readline('marc-cleanup>'); if (length $line < 2) { next unless (defined $commands{$line}) } if (defined $commands{$line}) {