From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,62af05cc68894032 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-25 21:41:03 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!news.sprintlink.net!cs.utexas.edu!utnut!info.physics.utoronto.ca!sysmark From: sysmark@helios.physics.utoronto.ca (Mark Bartelt) Subject: uname output, Digital UNIX (was Re: Proposol: rename the news group name "comp.unix.osf.osf1" to "comp.unix.dec.unix") Message-ID: Nntp-Posting-Host: helios.physics.utoronto.ca Sender: news@info.physics.utoronto.ca (System Administrator) Reply-To: mark@cita.toronto.edu Organization: Canadian Institute for Theoretical Astrophysics Date: Sat, 25 Mar 1995 16:17:19 GMT References: <3ku01m$cd4@eurybia.rz.uni-konstanz.de> <3kupgt$7lo@reznor.larc.nasa.gov> [ Richard Eckman ] | On another note, can anyone at Digital tell us what the | future response to the 'uname' command will be? Right now it | returns the string "OSF1". Presumably this will change with | the Digital Unix v4.0 release later this year? Yes, please, someone from Digital let us know well in advance. We have zillions of shell scripts which, to function correctly everywhere in our multi-vendor and very heterogeneous environment, make heavy use of constructs like ... case `uname` in OSF1) [ OSF/1 stuff ] ;; IRIX) [ IRIX stuff ] ;; SunOS) [ SunOS stuff ] ;; esac ... to deal with things which need to be done differently on different systems. If/when the output of uname changes in a future release, most of these scripts will break. So it would be nice to change everything *now*, to do ... case `uname` in OSF1|DECUNIX) [ ... ] ;; ... ... where "DECUNIX", of course, is whatever the uname output will be. So when will we find out? Mark Bartelt 416/978-5619 Canadian Institute for mark@cita.toronto.edu Theoretical Astrophysics mark@cita.utoronto.ca "Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue [ singing "It's all right, ma (I'm only bleating)" ]