Yes, this would likely be a show-stopper for anyone who writes scripts 
for any shell 
besides sh (or perhaps bash).  The whole point of switching to fish is that it 
is so much 
more programmer-friendly than those.

Leslie

On 2022-09-12 09:27:01 CV Bruce wrote:
> 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 ""
-- 
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