Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506394 - app-portage/gentoolkit - equery files does not turn off colors when appropriate
Summary: app-portage/gentoolkit - equery files does not turn off colors when appropriate
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2014-03-31 19:03 UTC by redneb
Modified: 2014-07-25 21:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redneb 2014-03-31 19:03:17 UTC
While some subcommands of equery automatically turn off colors when stdout is not a tty (e.g. equery list does that), the files subcommand doesn't do that. For example, the output of

    equery files bash | cat

contains colors. This means that things like

    equery files bash | grep ^/bin

do not work as expected.