This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gsl_rng_env_setup


Giulio Bottazzi writes:
 > I have a very short question:
 > why the (otherwise extremely handy) function
 > 
 > const gsl_rng_type * gsl_rng_env_setup (void)
 > 
 > independently decides to print the environment variables and their
 > values to stderr? This behaviour is, in my humble opinion, a little bit
 > counter-intuitive... at least, if these messages are really necessary
 > (but I don't think so) something like

I wanted it to follow the standard Unix command-line behavior.  The
gsl IEEE setup functions does the same.  When I run a program I do

  ./a.out >log 2>&1 

and all the relevant environment variable seetings then appear at the
top of the logfile as a permanent record.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]