This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
nondeterministic results of uname -n
- From: "John A. Turner" <john dot turner at pobox dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 03 Mar 2002 23:18:14 -0700
- Subject: nondeterministic results of uname -n
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/