tazpanel rev 168

libtazpanel/filter_taztools_msgs: display any lines
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 22 15:42:50 2011 +0200 (2011-04-22)
parents 8e629a5d4882
children 71ef6a3bc46f
files lib/libtazpanel
line diff
     1.1 --- a/lib/libtazpanel	Fri Apr 22 14:57:12 2011 +0200
     1.2 +++ b/lib/libtazpanel	Fri Apr 22 15:42:50 2011 +0200
     1.3 @@ -45,7 +45,7 @@
     1.4  
     1.5  # Remove status and ESC char from tazpkg/tazlito commands output
     1.6  filter_taztools_msgs() {
     1.7 -	grep ^[a-zA-Z0-9] | sed -e s'/\[^Gm]*.//g' \
     1.8 +	sed	-e s'/\[^Gm]*.//g' \
     1.9  		-e ':a;s/^\(.\{1,68\}\)\(\[ [A-Za-z]* \]\)/\1 \2/;ta' \
    1.10  		-e 's#\[ OK \]#[ <span class="diff-add">OK</span> ]#' \
    1.11  		-e 's#\[ Failed \]#[ <span class="diff-rm">Failed</span> ]#'