* more definitive OSTYPE ...
@ 1997-10-17 13:01 Hank Hughes
1997-10-17 15:00 ` Geoff Wing
0 siblings, 1 reply; 2+ messages in thread
From: Hank Hughes @ 1997-10-17 13:01 UTC (permalink / raw)
To: zsh-users
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.
Concerned, :-)
-Hank
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hank Hughes thigpen@ccs.neu.edu http://www.ccs.neu.edu/home/thigpen/
Random Quote #438:
"Name the greatest of all inventors. Accident."
- Mark Twain
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: more definitive OSTYPE ...
1997-10-17 13:01 more definitive OSTYPE Hank Hughes
@ 1997-10-17 15:00 ` Geoff Wing
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Wing @ 1997-10-17 15:00 UTC (permalink / raw)
To: zsh-users
Hank Hughes <thigpen@ccs.neu.edu> 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@primenet.com.au] 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/> ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-10-17 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-17 13:01 more definitive OSTYPE Hank Hughes
1997-10-17 15:00 ` Geoff Wing
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).