On Sat, 24 Feb 2018, oleg_komashko(a)ukr.net wrote:
Dear all,
Below is the script to illustrate the problem:
<hansl>
#### run in 2 chunks
open bjg.gdt
store "bjg.m" --gnu-octave
ma = mread("bjg.m")
eval ma[1:3,]
## why only g?
bjg.m is not a gretl matrix file; it's an octave file contaning two
matrices.
## this crushes gretl on my Ubuntu 17.10, 64
open bjg.m
I wouldn't expect gretl to parse it, but neither should gretl crash.
Will look into it.
Open GUI has '.m' option
Trying open bjg.m via GUI also crushes
That option is spurious, it crept in by mistake. It's now removed in
git. "Octave format" is not an import option for gretl at all; an .m
file could contain anything; we have no idea what to expect.
Allin