Am 11.02.2008 16:05, Allin Cottrell schrieb:
On Mon, 11 Feb 2008, Sven Schreiber wrote:
>>> outfile null --write
>>> ...
>>> outfile --close
>>>
>>> Using the keyword "null" in place of a real filename disables
gretl's
>>> printing functions -- they become no-ops.
> However, I do get a file called "null" in the working dir with
> the estimation results, so this does not yet seem to work
> properly... (fresh cvs)
Hmm. What do you see in response to the initial outfile command?
Given the script
open data4-10
outfile null --write
print 1 2 3 4
outfile --close
I'm getting:
? outfile null --write
Now discarding output
Closed output file 'null'
Done
The key is "Now discarding output": if you see that, no file has
been opened.
I get sth different (translated from my German version):
Now writing output to '/home/<workdir setting>/null'
Closed output file '/home/<workdir setting>/null'
fyi (if it's relevant), my workdir settings are to *not* use the startup
dir from the shell, but the pre-configured workdir.
-sven