bug-bash
[Top][All Lists]
Advanced

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

Re: OSTYPE (etc.) is clobbered


From: Paul Jarc
Subject: Re: OSTYPE (etc.) is clobbered
Date: 11 Jan 2001 16:20:51 -0500
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Chet Ramey <chet@nike.INS.CWRU.Edu> writes:
> > First, I can understand wanting to set this variable, but bash should
> > not set the variable if it is already set. This is a design decision
> > with which some may disagree
> 
> This seems reasonable; I will think about making the setting of
> OSTYPE, HOSTTYPE, and MACHTYPE conditional on the variables not being
> previously defined.

Here's an idea: if a particular environment variable (say,
$DONT_TOUCH_ENV) is set, don't touch any variables whatsoever (except
as directed by commands from the startup file(s) or input source).  I
know I would find this useful.


paul



reply via email to

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