From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27389 invoked from network); 17 Oct 1997 15:07:35 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 17 Oct 1997 15:07:35 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id LAA15385; Fri, 17 Oct 1997 11:00:22 -0400 (EDT) Resent-Date: Fri, 17 Oct 1997 10:59:54 -0400 (EDT) To: zsh-users@math.gatech.edu Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.users Subject: Re: more definitive OSTYPE ... Date: 17 Oct 1997 15:00:37 GMT Organization: PrimeNet Australia Message-ID: References: <199710171301.JAA17430@procyon.ccs.neu.edu> Reply-To: mason@primenet.com.au NNTP-Posting-Host: 203.24.36.33 X-Trace: coral.primenet.com.au 877100437 25623 (None) 203.24.36.33 X-Complaints-To: usenet@coral.primenet.com.au X-Newsreader: slrn (0.9.4.3 UNIX) Resent-Message-ID: <"cqXgu2.0.9l3.frtHq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1087 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hank Hughes 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: Mobile : 0412 162 441 [ Boulderdash: ]