In addition to my previous mail.
I made a „stupid“ mistake in my code, while debugging I wrote
Time(‚R') instead of
res = Time(‚R‘)
And the returned value went the wrong way and generated an error. However, the
message could not be encoded, see this error message
108 *-* Time('R')
>>> "0"
Message Catalog System: corrupt file.Message Catalog System: corrupt
file.Message Catalog System: corrupt file.ksh: 0: not found
+++ "RC(127)"
I think this depends on the fact that the korn shell is the default, rather
than bash (/bin/sh)? I have had this problem before but could not understand
what was going on.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
[email protected]
> Anfang der weitergeleiteten Nachricht:
>
> Von: "P.O. Jonsson" <[email protected]>
> Betreff: What shell is the "right" shell for Mac, related to bugs:1430?
> Datum: 23. November 2017 um 21:19:15 MEZ
> An: Open Object Rexx Developer Mailing List
> <[email protected]>
>
> Dear Erich,
>
> I use 64 bit version of ooRexx build 22.10.2017 (from Bsf4ooRexx currently)
> on a Mac running macOS 10.12.6 (Sierra).
>
> I just realized that the default shell on Mac is still set as ksh in ooRexx
> whereas the default for MacOS is bash. I tried „say Command()“ and that
> should report the default shell adressed, right? It returned ksh
>
> I remember a discussion some time ago and I think the consensus was that
> /bin/sh is the „right“ shell (and I agree on that), When I look at my machine
> /bin/sh report itself as bash, only difference to /bin/bash (both are
> executables, not symlinks) is that the prompt for
> /bin/sh is sh-3.2$ and for
> /bin/bash it is bash-3.2$
>
> According to the help they are both
>
> GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
>
> So please make a note to change this when there is time, or is there anything
> against? In principle /bin/sh should work on all Unix/Linux dialects, right?
>
> PS I have not forgotten the Installer for Mac, I am just a bit bogged down
> with other things right now. Will come back on that.
>
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> [email protected] <mailto:[email protected]>
>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel