[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Allin Cottrell
On Sat, 23 Oct 2021, Sven Schreiber wrote: 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

[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Sven Schreiber
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".

[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Allin Cottrell
On Sat, 23 Oct 2021, Sven Schreiber wrote: Hi all, the doc says that $sysinfo.os gives "linux", "osx", "windows" or other as a piece of introspection. An older accessor is $windows, which returns 0 or 1. So the $windows accessor appears redundant and doesn't cover the Mac - should it perhaps

[Gretl-devel] $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Sven Schreiber
Hi all, the doc says that $sysinfo.os gives "linux", "osx", "windows" or other as a piece of introspection. An older accessor is $windows, which returns 0 or 1. So the $windows accessor appears redundant and doesn't cover the Mac - should it perhaps be discouraged for new hansl scripts? (I