[mercury-users] report_stats

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 27 23:20:41 AEST 1999


On 23-Oct-1999, Robert Ernst Johann JESCHOFNIK <rejj at cat.cs.mu.OZ.AU> wrote:
> 
> I have a little request. Would it be possible to make io__report_stats
> take an optional stream to output to, like most of the other predicates in
> the io library?
> I have  a program that outputs formatted output to stdout (which gets
> piped or redirected elsewhere), but I would still like to be able to have
> a look at the stats.

io__report_stats writes its output to stderr.
You should be able to redirect stdout without redirecting stderr.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list