Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 32853

Summary: eupdatedb output is cluttered when used with cron (or piped) - patch included
Product: Gentoo Linux Reporter: Eldad Zack (RETIRED) <eldad>
Component: Current packagesAssignee: Marius Mauch (RETIRED) <genone>
Status: VERIFIED REMIND    
Severity: minor CC: davidpeter
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to enable quiet switch

Description Eldad Zack (RETIRED) gentoo-dev 2003-11-06 00:00:36 UTC
when running eupdatedb (from esearch package), the output is cluttered.
I've made a patch to allow a --quiet switch, which outputs only the summary of
eupdatedb.

Reproducible: Always
Steps to Reproduce:
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2003-11-06 00:01:09 UTC
Created attachment 20323 [details, diff]
patch to enable quiet switch
Comment 2 David Peter 2003-11-06 00:58:18 UTC
Hi,

Thanks for the bugreport. Please try out the newest (unstable) esearch 0.5.2.
It already has a -n/--nocolor switch, but I'll add a -q/--quiet as you suggested.

David
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2003-11-06 09:21:31 UTC
latest is 0.5.1, as of my latest emerge sync.
But as it seems from the code, the "verbose" flag scratches my itch, since
It summerize the indexing and doesn't use backspaces (which was the factor
that made the cluttering - they are visable when piped/used in cron, and
I'd get a daily mail of hundreds of lines).

feel free to close this report, if you want...

Thanks,
Eldad
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-11-06 11:40:27 UTC
closing now as it was already fixed, I'll mark 0.5 stable in a week or so.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-11-23 14:12:22 UTC
0.5.1 is stable now