delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/19/15:01:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <423C8510.7040007@poiema.org>
Date: Sat, 19 Mar 2005 12:01:20 -0800
From: Steven Boothe <steven AT poiema DOT org>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bug in /etc/profile?
References: <423C7767 DOT 1050605 AT poiema DOT org> <20050319191319 DOT GB1578 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20050319191319.GB1578@trixie.casa.cgf.cx>
X-IsSubscribed: yes

Christopher Faylor wrote:
> On Sat, Mar 19, 2005 at 11:03:03AM -0800, Steven Boothe wrote:
> 
>>I'm not sure if this is a bug or not, but I have managed to determine
>>that /etc/profile generates a rather curious environment variable:
>>
>>typing set from a command prompt:
>>
>>noone AT sector0 ~ $ set
> 
> 'set' does not display environment variables.  Use 'env' for that.

Maybe you mean it doesn't 'only' display environment variables, because it 
sure prints out a great amount of the same stuff env does (PATH, etc). But, 
it does not print out the dreaded 'f=' that using 'set' does. So that is a 
happy revelation. However, it is curious that this little value only shows up 
using 'set' while cygwin is running...

Anyway, having been enlightened I will look forward to using 'env' to check 
what environment variables are in memory now.

>>I am still trying to track down what is causing the other variable:
>>_=/home/noone/.bashrc
> 
> 
> Typing "man bash" and then /_<enter> followed by a bunch of 'n's will
> enlighten you about where the '_' comes from.

Thanks. I feel much better now. :)

Cheers!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019