Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* OSF1 "uname -r" discrepancy
@ 1994-05-03 18:55 Carlie Coats
  1994-05-05 23:20 ` dmneal
  0 siblings, 1 reply; 3+ messages in thread
From: Carlie Coats @ 1994-05-03 18:55 UTC (permalink / 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!"



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-05-06 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-03 18:55 OSF1 "uname -r" discrepancy Carlie Coats
1994-05-05 23:20 ` dmneal
1994-05-06 10:22   ` Charles M Richmond

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