tazbug rev 62
bugs.cgi: Dont show file path in results (again and again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 07 20:53:30 2014 +0100 (2014-01-07) |
parents | 8e3f723fc8e7 |
children | 1fa682f972c9 |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Tue Jan 07 20:49:14 2014 +0100 1.2 +++ b/web/bugs.cgi Tue Jan 07 20:53:30 2014 +0100 1.3 @@ -771,7 +771,7 @@ 1.4 id=${bug} 1.5 echo "<p><strong>Bug $id</strong> <a href=\"?id=$id\">"$(gettext 'Show')"</a></p>" 1.6 echo '<pre>' 1.7 - fgrep -i "$(GET search)" $bugdir/$id/* | \ 1.8 + fgrep -i -h "$(GET search)" $bugdir/$id/* | \ 1.9 sed s"/$(GET search)/<span class='ok'>$(GET search)<\/span>/"g 1.10 echo '</pre>' 1.11 fi