This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in /etc/profile?


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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]