On Friday, November 15, 2002, at 11:34 AM, Doug McNutt wrote:
uname -aWhat is the "official" name of the operating system under MacOS neXt?Where does perl get it?
Darwin dun 6.2 Darwin Kernel Version 6.2: Tue Nov 5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power Macintosh powerpc
I don't know why perl downcases it.
==================
For multi-os scripts in ksh I use :
opsys=`uname -a | cut -d" " -f1`
print " opsys = $opsys"
case $opsys in
OSF1)
SunOS)
HP-UX)
AIX)
Darwin|darwin)
esac
etc...
T.T.F.N.
William H. Magill
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]