Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113698 Details for
Bug 171374
app-portage/portage-utils - Misc enhancements for qgrep
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qgrep-05_add_a_--extended_option.patch
qgrep-05_add_a_--extended_option.patch (text/plain), 1.30 KB, created by
TGL
on 2007-03-18 19:57:17 UTC
(
hide
)
Description:
qgrep-05_add_a_--extended_option.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2007-03-18 19:57:17 UTC
Size:
1.30 KB
patch
obsolete
>--- qgrep.c.04 2007-03-18 16:43:11.000000000 +0100 >+++ qgrep.c 2007-03-18 16:59:46.000000000 +0100 >@@ -10,7 +10,7 @@ > > #ifdef APPLET_qgrep > >-#define QGREP_FLAGS "IiHNclLeEsS:" COMMON_FLAGS >+#define QGREP_FLAGS "IiHNclLexEsS:" COMMON_FLAGS > static struct option const qgrep_long_opts[] = { > {"invert-match", no_argument, NULL, 'I'}, > {"ignore-case", no_argument, NULL, 'i'}, >@@ -20,6 +20,7 @@ > {"list", no_argument, NULL, 'l'}, > {"invert-list", no_argument, NULL, 'L'}, > {"regexp", no_argument, NULL, 'e'}, >+ {"extended", no_argument, NULL, 'x'}, > {"eclass", no_argument, NULL, 'E'}, > {"skip-comments", no_argument, NULL, 's'}, > {"skip", a_argument, NULL, 'S'}, >@@ -34,6 +35,7 @@ > "Only print FILE names containing matches", > "Only print FILE names containing no match", > "Use PATTERN as a regular expression", >+ "Use PATTERN as an extended regular expression", > "Search in eclasses instead of ebuilds", > "Skip comments lines", > "Skip lines matching <arg>", >@@ -80,6 +82,10 @@ > case 'l': do_list = 1; break; > case 'L': do_list = invert_list = 1; break; > case 'e': do_regex = 1; break; >+ case 'x': >+ do_regex = 1; >+ reflags |= REG_EXTENDED; >+ break; > case 'E': do_eclass = 1; break; > case 'H': show_filename = 1; break; > case 'N': show_name = 1; break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171374
:
113690
|
113693
|
113695
|
113697
| 113698 |
113699
|
113701
|
114221
|
114222
|
114281
|
114282
|
114944