On 7/13/17 6:05 PM, John Reiser wrote: > Bash Version: 4.3 > Patch Level: 43 > Release Status: release > > Description: > When invoked as /bin/sh with SHELL unset, then bash should set SHELL > to /bin/sh, not to the login shell for the current user.
Posix, the closest thing we have to a standard description of SHELL, says: "This variable shall represent a pathname of the user's preferred command language interpreter." The best approximation of that is the user's login shell. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/