nondeterministic results of uname -n
John A. Turner
john.turner@pobox.com
Sun Mar 3 22:15:00 GMT 2002
I want to make it clear that I'm neither complaining nor asking
for a change - just reporting something I've noticed in case it's
of interest to anyone
basically, the nodename reported by uname is sometimes
uppercase, sometimes lowercase - i.e. on my laptop sometimes I
see:
CYGWIN_NT-5.0 ubik 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
and sometimes:
CYGWIN_NT-5.0 UBIK 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
I only noticed only because I do stuff like:
host = $(shell uname -n)
ifeq (blorp,$(findstring blorp,$(host)))
foo = bar
endif
in my makefiles, and I have to be careful about the case
-John
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list