[Date Prev][Date Next]
Re: (ITS#6038) Write slapadd progress meter to stdout
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6038) Write slapadd progress meter to stdout
- From: email@example.com
- Date: Thu, 26 Mar 2009 22:52:20 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Rein Tollevik
> Version: CVS HEAD
> OS: Irrelevant
> Submission from: (NULL) (18.104.22.168)
> Submitted by: rein
> The slapadd progress meter is written to stderr, and the only way to get rid of
> it is currently to redirect stderr. I don't want the meter in my small test
> scripts, as it is not very useful on minimal input and clutters the test output.
> It should be possible to disable the meter without loosing all error messages,
> a fix that writes the meter to stdout instead is coming.
> Options to enable/disable the meter would be nice, but the obvious candidates -q
> and -v are both occupied...
Just redirect stdin, and the meter will automatically turn itself off.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/