On Fri, 5 Jan 2018, Cowboy wrote:

The standard for many years has been to call the system default shell as
#! /bin/sh

Then, you expect /bin/sh to be a symbolic to the shell of choice.
Could be the Korn shell, Bourne shell, C-shell, Bourne Again shell..

On Deebian 9, /bin/sh is a symbolic link to /bin/dash, while /bin/bash is a different binary.

A properly written shell script should run the same under any
of them, so calling #! /bin/sh is appropriate.

The script runs equally well under either shell, but 'RN' only seems to work with bash scripts, and not, for instance, Perl scripts. My question is: is that the intended behavior?


Rob

--
Слышу голос из прекрасного далёка,
Он зовёт меня в чудесные края,
Слышу голос, голос спрашивает строго -
А сегодня что для завтра сделал я.


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to