Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531642 - app-portage/gentoolkit-0.3.0.8-r2: unexpected output change when piped
Summary: app-portage/gentoolkit-0.3.0.8-r2: unexpected output change when piped
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 10:27 UTC by Patrick Lauer
Modified: 2014-12-04 15:53 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2014-12-04 10:27:06 UTC
# equery s ncurses
 * sys-libs/ncurses-5.9-r3
         Total files : 3671
         Total size  : 4.61 MiB

# equery s ncurses | cat
sys-libs/ncurses-5.9-r3: total(3671), inaccessible(0), size(4835871)



... eh what? :D 
This is quite unexpected and makes grep'ing a big surprise ...
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2014-12-04 15:53:30 UTC
If it changed to not detect pipes, then using equery output to feed apps like emerge would no longer work as it has been for many years.  This includes many user scripts that they have been using fir many years.

For that type of grep, pass in the:

 -N, --no-pipe           turn off pipe detection 

option.