Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: coats@cardinal.ncsc.org (Carlie Coats)
Subject: OSF1 "uname -r" discrepancy
Date: Tue, 3 May 1994 18:55:53 GMT	[thread overview]
Message-ID: <1994May3.185553.17740@mcnc.org> (raw)

In tailoring scripts to be run portably on multiple platforms 
(Alpha/OSF1, MIPS/ULTRIX4, SunOS4, SunOS5 (SOlaris 2.x), IRIX4, IRIX5,
HP-UX, ...) which all cross-mount the same disks via NFS, I need to be 
able to evaluate which binary machine architecture I'm on so that I 
can decide what directory to get the executables from.  I've built 
shell variables which (so far) had described the machine architecture 
by playing tricks with "uname":

    setenv BIN `uname -s``uname -r | cut -d. -f1`

But now I find that under OSF1 v1.2, "uname -r" gives "1.2", whereas
with OSF1 v1.3, "uname -r" gives "V1.3".  And v1.2 and v1.3 should 
certainly be binary-compatible with each other.

What gives?


Carlie J. Coats, Jr.                          coats@cardinal.ncsc.org
Environmental Programs                           phone: (919)248-9241
North Carolina Supercomputing Center               fax: (919)248-9245
3021 Cornwallis Road                                  P. O. Box 12889
Research Triangle Park, N. C.  27709-2889                         USA
"My opinions are my own, and I've got *lots* of them!"



             reply	other threads:[~1994-05-03 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-03 18:55 Carlie Coats [this message]
1994-05-05 23:20 ` OSF1 "uname -r" discrepancy dmneal
1994-05-06 10:22   ` Charles M Richmond
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox