# HG changeset patch # User Aleksej Bobylev # Date 1508239504 -10800 # Node ID 0585b2e71bfcc318fc7c9de91ced9c5aaa42a240 # Parent b7b90769689116f51c2e40150c8788b00b7267b8 lighttpd/index.cgi: try to improve links in the top "Debug information" block. diff -r b7b907696891 -r 0585b2e71bfc lighttpd/index.cgi --- a/lighttpd/index.cgi Fri Oct 13 14:01:28 2017 +0300 +++ b/lighttpd/index.cgi Tue Oct 17 14:25:04 2017 +0300 @@ -617,7 +617,7 @@ echo -e '
\n

Debug information

' sed -e '/^Debug information/,$!d; /^===/d; /^$/d' $log | sed -n '1!p' | \ if [ -n "$2" ]; then - syntax_highlighter log | sed 's|\([0-9][0-9]*\):|\1:|' + syntax_highlighter log | sed 's|\([^0-9 ]\)\([0-9][0-9]*\):|\1\2:|' else sed 's|^[0-9][0-9]*:||' | syntax_highlighter log fi | mklog