* 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* Re: OSF1 "uname -r" discrepancy
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
0 siblings, 1 reply; 3+ messages in thread
From: dmneal @ 1994-05-05 23:20 UTC (permalink / raw)
In article <1994May3.185553.17740@mcnc.org>, coats@cardinal.ncsc.org (Carlie Coats) writes:
> 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?
Well, for what it's worth, v2.0's "uname -r" returns "V2.0".
- Donald Neal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OSF1 "uname -r" discrepancy
1994-05-05 23:20 ` dmneal
@ 1994-05-06 10:22 ` Charles M Richmond
0 siblings, 0 replies; 3+ messages in thread
From: Charles M Richmond @ 1994-05-06 10:22 UTC (permalink / raw)
dmneal@waikato.ac.nz writes:
>In article <1994May3.185553.17740@mcnc.org>, coats@cardinal.ncsc.org (Carlie Coats) writes:
>> 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?
> Well, for what it's worth, v2.0's "uname -r" returns "V2.0".
>- Donald Neal
Since the -r option is supposed to return the version number , all of the
above is correct. SCO ODT returns "3.2" and Ultrix4.4 returns "4.4".
If this had been a bug report, it would have been closed "UE" (user error).
Charlie
--
*****************************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@asoko.iisc.com cmr@world.std.com *
* Specializing in UNIX, X, Image Processing, and Communications. *
^ 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