From: chris@rivers.dra.hmg.gb (Christopher Samuel)
Subject: Re: Portable startup files question..
Date: 1995/06/02 [thread overview]
Message-ID: <3qn2j0$3dj@phoenix.dra.hmg.gb> (raw)
In-Reply-To: 3pqfbf$ds0@elron2.elron.net
/* Followups redirected to comp.unix.admin */
In article <3pqfbf$ds0@elron2.elron.net> of comp.unix.admin,
Ido Sarig <ido> doodled:
^^^
/* awooga awooga - broken news software alert :-) */
> No they don't. Use `uname -a` and a simple awk script to get the 3rd field
> of the output, which is 4.x on SunOS and 5.x on Solaris.
Remember that not all systems have uname, for example NeXTstep has it
missing (although it does have the uname(2) call in it's POSIX libraries).
Also remember that not all systems uname work the same way, for instance
SCO's returns the hostname for "uname -s" whereas the rest of the world
seems to return the operating system name (typical really).
cheers,
Chris
--
Christopher Samuel, Open Software Systems Group, chris@rivers.dra.hmg.gb
N-115, Defence Research Agency, St Andrews Road, Great Malvern, England, UK
DISCLAIMER: I write only for myself, not for DRA. Phone: +44 1684 894644
"You can't write space opera in a vacuum" --- Iain Banks
next prev parent reply other threads:[~1995-06-02 4:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-21 4:00 Portable startup files question Ricardo Marek
1995-05-21 4:00 ` tim werner
1995-05-22 4:00 ` Guy Harris
1995-05-21 4:00 ` Uwe Leinberger
1995-05-22 4:00 ` Ido Sarig
1995-05-22 4:00 ` Guy Harris
1995-05-24 4:00 ` Dale DePriest
1995-05-25 4:00 ` Guy Harris
1995-05-26 4:00 ` Thanh Ma
1995-05-26 4:00 ` Guy Harris
1995-06-02 4:00 ` Christopher Samuel [this message]
1995-05-23 4:00 ` Larry Gale
1995-05-26 4:00 ` Syed Zaeem Hosain
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