diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-18 21:21:17 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-18 21:21:17 +0100 |
commit | c70ea95c7e2e07cccbff9b7cce26e7bb506d1db6 (patch) | |
tree | d5254e9a7d23be58d3d2a9b81f02b154160b4a28 /misc | |
parent | bbf7a4b561414d43bedde682c9f7b041c6de88ad (diff) |
Factorized split_addr.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/w3c-validator.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/w3c-validator.pl b/misc/w3c-validator.pl index 76355ac..1947401 100755 --- a/misc/w3c-validator.pl +++ b/misc/w3c-validator.pl @@ -22,7 +22,7 @@ # sudo ./bin/fripost-panel restart # # Every HTML page will now be dumped into /tmp/fpanel/. Once you are done -# browsing the RunModes, +# browsing the RunModes, # sudo chmod -R +r /tmp/fpanel/ # ./misc/w3c-validator.pl /tmp/fpanel/*.html # @@ -45,7 +45,7 @@ foreach my $html (@ARGV) { if (defined $v->errors) { my @errors = @{$v->errors}; foreach (@errors) { - printf STDERR ( "line: %s, col: %s\n\terror: %s\n", + printf STDERR ( "line: %s, col: %s\n\terror: %s\n", $_->line, $_->col, $_->msg ); } @@ -54,7 +54,7 @@ foreach my $html (@ARGV) { elsif (@{$v->warnings}) { my @warnings = @{$v->warnings}; foreach (@warnings) { - printf STDERR ( "line: %s, col: %s\n\twarning: %s\n", + printf STDERR ( "line: %s, col: %s\n\twarning: %s\n", $_->line, $_->col, $_->msg ); } |