cookutils rev 941

lighttpd/index.cgi: hide some libtool useless annoying warnings (will be displayed as plain text).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 23 12:02:34 2017 +0300 (2017-06-23)
parents 81f33cdb5a66
children dc6b6e10da97
files lighttpd/cooker.css lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/cooker.css	Thu Jun 22 20:18:08 2017 +0300
     1.2 +++ b/lighttpd/cooker.css	Fri Jun 23 12:02:34 2017 +0300
     1.3 @@ -183,6 +183,7 @@
     1.4  .log u  { text-decoration: none; color: darkorange; }
     1.5  .log i  { font-style: normal;    color: green; }
     1.6  .log em { font-style: normal;    background-color: lightsteelblue; font-weight: bold; display: inline-block; width: 100%; }
     1.7 +.log var{ font-style: normal;    color: #05a; }
     1.8  
     1.9  .catman b  { color: navy; }
    1.10  .catman u  { text-decoration: none; color: green; }
     2.1 --- a/lighttpd/index.cgi	Thu Jun 22 20:18:08 2017 +0300
     2.2 +++ b/lighttpd/index.cgi	Fri Jun 23 12:02:34 2017 +0300
     2.3 @@ -514,10 +514,14 @@
     2.4  				-e "s#^[a-zA-Z0-9]\([^']*\) :: #<span class='span-sky'>\0</span>#g" \
     2.5  				-e "s#[fh]tt*ps*://[^ '\"]*#<a href='\0'>\0</a>#g" \
     2.6  				\
     2.7 -				-e "s|$_src|<span class='var'>\${src}</span>|g;
     2.8 -					s|$_install|<span class='var'>\${install}</span>|g;
     2.9 -					s|$_fs|<span class='var'>\${fs}</span>|g;
    2.10 -					s|$_stuff|<span class='var'>\${stuff}</span>|g" \
    2.11 +				-e 's|^<u>\(.*libtool: warning: relinking.*\)</u>|\1|' \
    2.12 +				-e 's|^<u>\(.*libtool: warning: .* has not been installed in .*\)</u>|\1|' \
    2.13 +				-e 's|^<u>\(.*checking for a sed.*\)</u>|\1|' \
    2.14 +				\
    2.15 +				-e "s|$_src|<var>\${src}</var>|g;
    2.16 +					s|$_install|<var>\${install}</var>|g;
    2.17 +					s|$_fs|<var>\${fs}</var>|g;
    2.18 +					s|$_stuff|<var>\${stuff}</var>|g" \
    2.19  				-e "s|\[9\([1-6]\)m|<span class='c\10'>|;
    2.20  					s|\[39m|</span>|;"
    2.21  			;;