From 727653d1fd752c350b2319a78780604dcb52b155 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Tue, 23 Sep 2008 19:48:56 +0000 Subject: [PATCH] tweaks --- marc-cleanup | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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}) { -- 1.7.2.5