cookutils rev 1048

lighttpd/index.cgi: fix colorization: "warning: inlining failed" is warning, "/etc/bash_completion.d/" is useless files with the "---" tag
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 17:14:13 2018 +0300 (2018-04-19)
parents 0616fab99da8
children 251a9d5b7542
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Thu Apr 19 08:53:56 2018 +0300
     1.2 +++ b/lighttpd/index.cgi	Thu Apr 19 17:14:13 2018 +0300
     1.3 @@ -546,6 +546,7 @@
     1.4  				-e 's|^<u>\(.*libtool: warning: relinking.*\)</u>|\1|' \
     1.5  				-e 's|^<u>\(.*libtool: warning: .* has not been installed in .*\)</u>|\1|' \
     1.6  				-e 's|^<u>\(.*checking for a sed.*\)</u>|\1|' \
     1.7 +				-e 's|^<u><b>\(.*inlining failed.*\)</b></u>|<u>\1</u>|' \
     1.8  				\
     1.9  				-e "s|$_src|<var>\${src}</var>|g;
    1.10  					s|$_install|<var>\${install}</var>|g;
    1.11 @@ -1641,8 +1642,10 @@
    1.12  								printf("<span class=\"c%s1\">%s</span> ", color, text);
    1.13  								printf("%s\n", $0);
    1.14  							}
    1.15 -							/\/perllocal.pod$/ || /\/\.packlist$/ || /\/share\/bash-completion\// ||
    1.16 -								/\/lib\/systemd\// || /\.pyc$/ || /\.pyo$/ || /\/fonts\.scale$/ || /\/fonts\.dir$/ || /\.la$/ {
    1.17 +							/\/perllocal\.pod$/ || /\/\.packlist$/ ||
    1.18 +								/\/share\/bash-completion\// || /\/etc\/bash_completion\.d\// ||
    1.19 +								/\/lib\/systemd\// || /\.pyc$/ || /\.pyo$/ ||
    1.20 +								/\/fonts\.scale$/ || /\/fonts\.dir$/ || /\.la$/ {
    1.21  								tag("---", 0); next }
    1.22  							/\.pod$/  { tag("pod", 5); next }
    1.23  							/\/share\/man\// { tag("man", 5); next }