Re: [Oorexx-devel] How do I determine if I am running on Mac or *nix

2020-08-07 Thread Gil Barmwater
Thanks to both you and Rony! Looks like we need an update to the Rexx Ref. on this ;-). On 8/7/2020 3:05 PM, Enrico Sorichetti via Oorexx-devel wrote: Just tested Last login: Fri Aug� 7 09:45:30 on ttys000 *~*% rexx -e "say .rexxinfo~platform" [enrico@enrico-imac] DARWIN *~*%

Re: [Oorexx-devel] How do I determine if I am running on Mac or *nix

2020-08-07 Thread Enrico Sorichetti via Oorexx-devel
Just tested Last login: Fri Aug 7 09:45:30 on ttys000 ~ % rexx -e "say .rexxinfo~platform" [enrico@enrico-imac] DARWIN ~ %[enrico@enrico-imac] E > On 7 Aug 2020, at 20:57, Gil Barmwater wrote: > > I have run

Re: [Oorexx-devel] How do I determine if I am running on Mac or *nix

2020-08-07 Thread Rony G Flatscher
Gil: being away from my computers out of my head: Macs should return Darwin, not Linux! Best regards —-rony Rony G. Flatscher (mobil/e) > Am 07.08.2020 um 20:57 schrieb Gil Barmwater : > > I have run into a case where an ooRexx program needs to determine the type > of OS under which it is

[Oorexx-devel] How do I determine if I am running on Mac or *nix

2020-08-07 Thread Gil Barmwater
I have run into a case where an ooRexx program needs to determine the type of OS under which it is running. .RexxInfo~platform gives me either WindowsNT or Linux. However, if it is Linux, it may be Mac. What is the easiest way to determine that fact? Thanks! -- Gil Barmwater

[Oorexx-devel] How do I determine if I am running on Mac or *nix

2020-08-07 Thread Gil Barmwater
I have run into a case where an ooRexx program needs to determine the type of OS under which it is running. .RexxInfo~platform gives me either WindowsNT or Linux. However, if it is Linux, it may be Mac. What is the easiest way to determine that fact? Thanks! -- Gil Barmwater