Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147906 - equery piping issue
Summary: equery piping issue
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 02:48 UTC by Cyril Romain
Modified: 2010-03-07 04:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
equery patch to get used flags of installed package piped (equery.patch,489 bytes, patch)
2006-09-17 02:49 UTC, Cyril Romain
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril Romain 2006-09-17 02:48:14 UTC
equery does not output the used flags of installed package when used in command pipe.
equery outputs the 'U' flags but not the 'I' ones.
Comment 1 Cyril Romain 2006-09-17 02:49:56 UTC
Created attachment 97216 [details, diff]
equery patch to get used flags of installed package piped
Comment 2 Douglas Anderson 2010-03-07 04:05:13 UTC
Piping output is designed to be used via a script... in this case we want a simple "according to Portage, is this flag currently enabled, or not". The non piping output is used for a more general overview.

What your patch proposes can be easily attained by using the -N, --no-pipe option to pass the default output into a pipe, you'll just probably need to disable color (-C), and have your script ignore lines that aren't use flag related. But it's almost the same, script-wise.