Mail Archives: cygwin/2002/01/06/18:24:03
The most recent update to bash stopped exporting a lot of variables by default. I believe you'll find discussion of this in the cygwin mailing list archives.
It is documented too, although admittedly not in an especially prominent place. I re-found it just now in usr/doc/bash-2.05a/COMPAT (which documents incompatibilities between the current bash and the previous widely-available version, 1.14), item 15:
Bash no longer auto-exports the HOME, PATH, SHELL, TERM, HOSTNAME, HOSTTYPE, MACHTYPE, or OSTYPE variables.
I'll bet your Debian box is running a slightly older bash than is now included with Cygwin.
stephan();
-----Original Message-----
From: Jerome BENOIT [mailto:520066587150-0001 AT t-online DOT de]
Sent: Sunday, January 06, 2002 2:25 PM
To: Gerrit P. Haase @ cygwin
Cc: Jérôme-Georges-Michel BENOIT
Subject: Re: OSTYPE
Fine,
but on my Debian box
`printenv OSTYPE' gives something.
Is it a cygwin feature ?
Thanks,
Jerome BENOIT
"Gerrit P. Haase" wrote:
>
> Hallo Jérôme-Georges-Michel,
>
> Am 2002-01-06 um 18:37 schriebst du:
>
> > Bonjour,
>
> > what have happened to OSTYPE ?
>
> > `printenv OSTYPE' gives nothing !
>
> $ printenv | grep OSTYPE
>
> $ set | grep OSTYPE
> OSTYPE=cygwin
>
> $ echo $OSTYPE
> cygwin
>
> Gerrit
> --
> =^..^= mailto:gp AT familiehaase DOT de
--
*º¤., ¸¸,.¤º*¨¨¨*¤ Jerome BENOIT, Ph.D. *º¤., ¸¸,.¤º*¨¨¨*¤
Institute of Molecular Biology
Friedrich-Schiller University of Jena
Winzerlaer Strasse 10, Jena 07745, Germany
*º¤., ¸¸,.¤º*¨¨¨*¤ JGMBenoit AT wanadoo DOT fr *º¤., ¸¸,.¤º*¨¨¨*¤
--
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/
--
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/
- Raw text -