# 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 ...
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.