[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bogus value of variable BASH

From: Chet Ramey
Subject: Re: Bogus value of variable BASH
Date: Fri, 12 Feb 2016 10:40:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 2/12/16 10:38 AM, David Hunt wrote:
> I'm not trying to write scripts that rely on the value of BASH. I only
> discoverd the discrepancy while investigating the potential usefulness
> of various variables set by the shell. Perhaps I just don't get the
> point of having the variable in the first place.

The idea is to have a `standard' variable that does its best to tell you
what the current shell is.  SHELL is not suitable for that.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]