Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: more definitive OSTYPE ...
- X-seq: zsh-users 1087
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: more definitive OSTYPE ...
- Date: 17 Oct 1997 15:00:37 GMT
- Organization: PrimeNet Australia
- References: <199710171301.JAA17430@xxxxxxxxxxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
Hank Hughes <thigpen@xxxxxxxxxxx> typed:
: Am I doing something wrong? I notice OSTYPE is mostly correct,
: however, sometimes I get slight discrepancies like:
:1009 % echo $OSTYPE
:sunos4.1.3
:[ thigpen@k2 (8:55AM) ~ ]
:1010 % uname -a
:SunOS k2.ccs.neu.edu 4.1.4 1 sun4m unknown
: It seems that major types are used not revisions/updates/minor-types.
: I'd rather use and depend on builtins like OSTYPE (or something
: similar) rather than run something else.
OSTYPE is defined at zsh compile time. Running `uname' will normally
query your OS. They serve different purposes.
--
Geoff Wing [mason@xxxxxxxxxxxxxxx] Phone : +61-3-9818 2977
Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9768 2909
Web: <URL:http://www.primenet.com.au/> Mobile : 0412 162 441
[ Boulderdash: <URL:http://ciips.ee.uwa.edu.au/~williams/bd/> ]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author