This is the mail archive of the cygwin@cygwin.com 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]

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/


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