The ooRexx V5.0.0.r12194 Language Reference (the most recent I have 
downloaded), section
2.1. ADDRESS says,
| The following evironments are available in ooRexx:
| sh (Unix only)
|     This is the default environment on Unix systems. It uses sh as a shell 
program to
execute the command. All shell features such as redirection or piping can be 
used.
|
| bsh, bash, csh, ksh, tcsh, zsh (Unix only)
|     These environments use alternate Unix shells bsh, bash, csh, ksh, tcsh, 
or zsh to
execute the command. If the appropriate shell is not installed on the system, 
executing a
command in any of these enviroments will raise a failure.
|
| cmd (Windows only)
|     This is the default environment on Windows systems. It uses cmd.exe as a 
command
interpreter to execute the command. Command interpreter features such as 
internal
commands, redirection or piping can be used.
|
| command, system, ""
|     These environment names are synonyms for the default environments sh on 
Unix and cmd
on Windows.
|    :

        I intend to switch from the bash shell I'm currently using to the fish 
shell, which
appears to be much more programmer-friendly than any of the sh-based shells.  
Can fish be
added to the list of Unix shells recognized by ooRexx?
        Alternatively, it would be nice if ooRexx used the value stored in 
/etc/passwd for the
user account, e.g.
| leslie:x:1000:100:Leslie Turriff:/home/leslie:/usr/bin/fish
that makes my default shell /usr/bin/fish; or ooRexx could use /usr/bin/which 
to determine
if the requested environment is installed.  Either of these would allow Unix 
shells not
on the Official List to be used.  (It would be the programmer's responsibility 
to ensure
that the environment does in fact point to a valid shell.)

Leslie
--
Platform: Linux
Distribution: openSUSE Leap 15.4 x86_64
Open Object Rexx Version 5.0.0 r12286
Build date: Aug 12 2021
Addressing mode: 64


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to