]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use $1 instead of \\1
authorMark Andrews <marka@isc.org>
Wed, 18 Sep 2013 01:54:34 +0000 (11:54 +1000)
committerMark Andrews <marka@isc.org>
Wed, 18 Sep 2013 01:55:12 +0000 (11:55 +1000)
(cherry picked from commit 3b84724c44654f5c851b04acd71ba3fb6af133fe)

util/update_copyrights

index c07043915c8d5c2c44214d4211bec30182d570dd..824c7d51cf968a70eb46dff716aead92f2462e47 100644 (file)
@@ -151,8 +151,8 @@ foreach $file (keys %file_types) {
                # Remove 1-7 spaces followed by a tab into a single
                # tab if at start of line or proceeded by tabs.
                s/^(\t*) {1,7}\t/$1\t/ while (/^\t* {1,7}\t/);
-               s/^(\s{0,3}\d*\.)\s(\[\w{1,5}\])\s+(\S+)/\1\t\2\t\t\3/;
-               s/^(\s{0,3}\d*\.)\s(\[\w{6,}\])\s+(\S+)/\1\t\2\t\3/;
+               s/^(\s{0,3}\d*\.)\s(\[\w{1,5}\])\s+(\S+)/$1\t$2\t\t$3/;
+               s/^(\s{0,3}\d*\.)\s(\[\w{6,}\])\s+(\S+)/$1\t$2\t$3/;
                # Convert 8 spaces into tabs if at start of line
                # or preceeded by tabs.
                s/^(\t*)        /$1\t/ while (/^\t*        /);