Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 /_ 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/