W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2008

perl/modules/W3C/LinkChecker/bin checklink,4.120,4.121

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 25 Oct 2008 19:33:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KtotC-0001rR-FW@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv7139

Modified Files:
	checklink 
Log Message:
Improve line number indicator formatting for redirect results in console mode.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.120
retrieving revision 4.121
diff -u -d -r4.120 -r4.121
--- checklink	25 Oct 2008 19:27:10 -0000	4.120
+++ checklink	25 Oct 2008 19:33:32 -0000	4.121
@@ -2091,7 +2091,7 @@
              # List of redirects
              $redirected ? join("\n-> ", @redirects_urls) . $redirmsg : $u,
              # List of lines
-             $lines_list ? "Line$s: $lines_list" : '',
+             $lines_list ? sprintf("\n%6s: %s", "Line$s", $lines_list) : '',
              # Response code chain
              join(' -> ', @http_codes),
              # HTTP message
Received on Saturday, 25 October 2008 19:33:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:05 GMT