In my small education in UNIX/Linux shells, I believe that I read that some 
shells will change their behavior depending on the name that they are invoked 
with. /bin/sh has behaviors defined in POSIX standards, and on many Linux 
systems is linked to bash. When invoked by /bin/sh it takes on the POSIX 
behaviors. I would assume that dash would do the same, but I don’t know that 
for sure.

What that means is that certain language features that are available when 
invoked by the true name cease to work when invoked by the alias name. 

I believe this is documented on the shell man page.

Bruce 

Sent by Magic!

> On Sep 12, 2022, at 2:44 AM, Erich Steinböck <erich.steinbo...@gmail.com> 
> wrote:
> 
> 
> Hi Leslie,
> I think when this was last discussed it was agreed that nowadays typically sh 
> would be a link to the preferred shell.
> Like on my old Ubuntu it is /bin/sh -> dash
> 
> With this ooRexx won't have to create new environments dedicated to a 
> specific shell and users could consistently code address sh or address ""
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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

Reply via email to