[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6038) Write slapadd progress meter to stdout



rein@OpenLDAP.org wrote:
> Full_Name: Rein Tollevik
> Version: CVS HEAD
> OS: Irrelevant
> URL:
> Submission from: (NULL) (84.215.36.97)
> 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/