> On 14 Jan 2022, at 10:24 am, Leyan Ouyang <ouyang.leyan....@gmail.com> wrote: > > > > >> On 1/13/22 17:27, Wols Lists wrote: >> On 13/01/2022 15:57, Kohei Yoshida wrote: >>> On 13.01.2022 10:38, Chris Sherlock wrote: >>> >>>> That’s my take also. But apparently, it isn’t important on Linux so we >>>> shouldn’t change it. Because no-one uses Excel on Linux, therefore >>>> they would never use this function if they use Linux. >>> >>> I wasn't there obviously so I don't know the nuance of the discussion. But >>> the fact that nobody uses Excel on Linux means we have a bit of freedom to >>> decide what to return there since we are not bound by the compatibility >>> concerns, rather than just declaring "we shouldn't change it". That'd be >>> my take. >>> >>> Of course, I don't have a skin in the game, so I'll leave the final >>> decision to whoever is more appropriate. >>> >> I remember hearing somewhere there is an official port of Excel for linux >> (and I used to run it under Wine), so some people do. >> >> Although whether the "official port" is Office 365 running in the browser I >> don't know. Maybe I should try it, I do have a subscription :-( See what it >> returns. >> > I just tried it, it is not recognized in the online version. This is > mentioned in the documentation as well: "Note: The INFO function is not > available in Excel Web App." > (https://support.microsoft.com/en-us/office/info-function-725f259a-0e4b-49b3-8b52-58815c69acae).
I would prefer the string to be in the format: Fedora 17 (Beefy Miracle) Kernel: 5.xxx (whatever it might be) This is close to what is returned for the Mac and Windows versions. It shouldn’t be too hard to parse /etc/os-release Chris