Index: openacs-4/packages/acs-lang/bin/check-catalog.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/bin/check-catalog.sh,v diff -u -r1.14 -r1.15 --- openacs-4/packages/acs-lang/bin/check-catalog.sh 9 Oct 2003 16:39:08 -0000 1.14 +++ openacs-4/packages/acs-lang/bin/check-catalog.sh 16 Oct 2003 14:05:50 -0000 1.15 @@ -49,9 +49,16 @@ message_key=$1 catalog_package_key=$2 - egrep -q ") { - if ($line =~ /$pattern/) { + while ($line =~ /$pattern/) { if (defined($1)) { print STDOUT "$1\n"; } - + + # Do next matching on whatever comes after last match + $line=$'; $have_match = 1; } }