Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Kjell Andresen <kjell@dod.no>
Subject: Re: Using what command you can get 4.0d?
Date: 2000/02/14	[thread overview]
Message-ID: <u8n4sbct6lk.fsf@beta.uio.no> (raw)
In-Reply-To: yh6itzs2jlu.fsf@tci005.uibk.ac.at

Hannes Loeffler <Hannes.Loeffler@uibk.ac.at> writes:

> Kjell Andresen <kjell@dod.no> writes:
> 
> > cui@solaria.sol.net (David Cui) writes:
> > 
> > > I am writing a script and I need to get 4.0d.
> > > How can I get that?
> > > uname -a doesn't help.
> > 
> > I've compiled a list at  http://www.usit.uio.no/it/unix/du/versjoner.txt
> > 
> > > Any command will do that?
> > 
> > kjell@halfdan ~ $ sizer -v
> > Digital UNIX V4.0F  (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999 

This option to sizer is not available in all versions of DU/TU - I do
not remember when it came - , so therefore I also suggested:

> > kjell@halfdan ~ $ grep -i unix /etc/motd
> > Digital UNIX V4.0F  (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999 
> 
> /etc/motd might be modified by the sysadmin to serve as what it is intended
> to do: output the message of the day.

Yes, of course - but it's worth to decide whether or not to keep this
single line if for example sizer does not support the -v option (as
long as the only other place the version is placed is in the binary
log; uerf)

A well maintained system could even use DNS:
$ host -t hinfo halfdan
halfdan.uio.no host information DEC-200-4/166 DIGITAL-UNIX-4.0F

But I guess not everybody will like to broadcast this.

Kjell



  reply	other threads:[~2000-02-14  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  5:00 Using what command you can get 4.0d? David Cui
2000-02-11  5:00 ` Kjell Andresen
2000-02-14  5:00   ` Hannes Loeffler
2000-02-14  5:00     ` Kjell Andresen [this message]
2000-02-14  5:00       ` David D. Hooton
  -- strict thread matches above, loose matches on Subject: below --
2000-02-11  5:00 David Cui
2000-02-11  5:00 ` Serguei Patchkovskii
2000-02-14  5:00 ` Arnaud LHUILLIER
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