Am 23.10.2021 um 21:59 schrieb Allin Cottrell:

My take on this is that it's very unlikely that anyone wants to branch
in a script based on "osx" versus "linux" since they're both at core
unix variants. So we should be safe just updating the string under
$sysinfo.os from "osx" to "macos".

Well, as it happens, I have a non-public package which checks for "osx"
because it has to give up in that case.
One solution might be to change the string to "osx macos" and recommend
the use of instring() as a check, so checking for "osx" and "macos"
would both work, with old and new gretl versions. But OTOH maybe it's
not really worth touching it and better just add a note in the doc...


MS Windows is definitely the odd man out. For that reason I'd say it's
worth preserving the $windows accessor, which is a lightweight
alternative to producing the full $sysinfo bundle if a script or package
writer just wants to enable special treatment for Windows.

OK, sounds reasonable!

thanks
sven
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to