Bug 170797 - app-portage/portage-utils - add a -s/--skip-comments option to qgrep
Bug#: 170797 Product:  Portage Development Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: portage-utils@gentoo.org Reported By: tom.gl@free.fr
Component: Third-Party Tools
URL: 
Summary: app-portage/portage-utils - add a -s/--skip-comments option to qgrep
Keywords:  InCVS
Status Whiteboard: 
Opened: 2007-03-13 22:38 0000
Description:   Opened: 2007-03-13 22:38 0000
Here is a small patch which adds a --skip-comments option to qgrep.

It is meant to avoid the "|sed '/\.ebuild:[ \t]*#/d'" i've used a few times
(just thought i may not be the only one).

The patch applies on top of the one from bug #170795 ("--eclass").

------- Comment #1 From TGL 2007-03-13 22:38:44 0000 -------
Created an attachment (id=113221) [details]
qgrep--add_skip-comments_option.patch

------- Comment #2 From TGL 2007-03-17 08:37:03 0000 -------
Created an attachment (id=113549) [details]
qgrep--add_eclass_option.patch

------- Comment #3 From TGL 2007-03-17 19:53:51 0000 -------
(From update of attachment 113221 [details])
Bleh... The second patch i've attached here is the one that was missing in bug
#170795 :-/

------- Comment #4 From TGL 2007-03-17 19:54:10 0000 -------
(From update of attachment 113549 [details])
wrong bug

------- Comment #5 From solar 2007-03-17 20:53:43 0000 -------
/var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v  <--  qgrep.c
new revision: 1.17; previous revision: 1.16

------- Comment #6 From solar 2007-04-05 18:42:18 0000 -------
This is released in 0.1.25

Bug #168334 ; q -r dies with a segfault after emerge --sync
Bug #168442 ; does not  properly parse the profile location
Bug #170795 ; add a -E/--eclass option to qgrep
Bug #170797 ; add a -s/--skip-comments option to qgrep
Bug #171024 ; opening '/usr/portage/.metadata.x' failed
Bug #171374 ; Misc enhancements for qgrep
Bug #172240 ; -A/-B options for qgrep (context lines) 
Bug #172338 ; qgrepping through installed ebuilds (in the VDB) 
Bug #173005 ; Colorized output for qgrep.

------- Comment #7 From solar 2007-04-05 18:43:03 0000 -------
Closing