Agreed.
But could you please write the updated code to still allow for an
"OS/2" possibility, if only for historical (and sentimental) reasons?
-Chip-
On 2/25/2019 6:24 AM, Enrico Sorichetti via Oorexx-devel wrote:
The code to detect the system is pretty outdated
-- test for default command processor
parse source os . -- get name of operating system
os1=os~left(1)~translate -- get first character in uppercase
if pos(os1, "O W") > 0 then do -- OS2, Windows ?
self~assertSame("CMD", addr, "default address environment for"
pp(os)"="pp(addr) "not" pp("CMD"))
end
else do -- all Unix platforms should
default to "sh"
self~assertSame("sh", addr, "default address environment for"
pp(os)"="pp(addr) "not" pp("sh"))
end
It does not detect OPenBSD
E
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel