On 10/3/26 10:52 AM, Erich Minderlein wrote:

Asking for the vaiable $SHELL inside bash reports
usr/bin/zsh

also variable has been unset in the Parent shell.
This leads to unpredictable bahaviour of the current bash shell.

This is documented:

SHELL  This variable expands to the full pathname to the shell.  If  it  is
not set when the shell starts, bash assigns to it the full pathname
            of the current user's login shell."

What are you trying to do with $SHELL?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to