From f2c2f346bfc5737f906077cc9d54e7f286898122 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sun, 9 Dec 2001 04:41:59 +0000 Subject: [PATCH] update regex, closing #111349 --- update-bugdoctxt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-bugdoctxt b/update-bugdoctxt index 1869e0ff..d5568f58 100755 --- a/update-bugdoctxt +++ b/update-bugdoctxt @@ -13,7 +13,7 @@ convert () { src=$1; dst=$2 rm -f .new-$dst echo Generating $dst from http://www.debian.org/Bugs/$src ... - lynx -nolist -dump $urlbase$src | sed -e 's/^ *$//' | perl -00 -ne 'exit if /Back to the Debian Project homepage/; print unless ($.==1 || $.==2 || $.==3 || /^\s*Other pages:$/m)' >.new-$dst + lynx -nolist -dump $urlbase$src | sed -e 's/^ *$//' | perl -00 -ne 'exit if /Back to the Debian Project homepage/; print unless ($.==1 || $.==2 || $.==3 || /^\s*Other BTS pages:$/m)' >.new-$dst if cmp -s .new-$dst $dst ; then rm -f .new-$dst else mv -f .new-$dst $dst fi -- 2.39.5