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]

Re: Beginnings of a patch: /etc/hosts


On Wed, 11 Sep 2002, Paul Johnston wrote:

> > No, I'm not.  I'm incorporating Warren Young's suggestion.  Unless someone
> > with ME can confirm that 'uname -s' returns CYGWIN_9*?  Nicholas?
>
> To me that's a step backwards - uname -s or $OS are the correct ways to
> detect the operating system. Warren's approach would be fooled if a user
> defined $SYSTEMROOT on Win 9x.

Win 9x does not set $OS...  At least my Win 98 machine at home doesn't.
Besides, the user can always set $OS to fool the script, by the same
token.  I'd prefer 'uname -s'.  Pending confirmation from someone with
Win ME...

> Nit picks... FILES=... should probably go nearer the top

Agreed.

> On reflection, I think we'll always want it verbose, so we could lose
> $VERBOSE

Probably.  In which case we should also print messages if the OS is not
detected or $WINETC is not found...

> That's gotta be it... in principle this is a very simple script!

Ok, one more iteration (script attached)...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file

Attachment: make-etc-links.sh
Description: Text document

Attachment: make-etc-links.sh-0.5-diff
Description: Text document

--
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]