i'mm trying to write a shell script that determines a
machine-specific path, one that is consistent consistent w/java's
os.arch property:
for
        Operating System:       SunOS
        Architecture:           sparc

tomw@marvin 23% uname -s
SunOS
tomw@marvin 24% uname -p
sparc

and
        Operating System:       IRIX
        Architecture:           mips

tomw@opus 66% uname -s
IRIX
tomw@opus 67% uname -p
mips

unfortunately:

        Operating System:       Linux
        Architecture:           i386    <- !!! wtf does THIS come from????

tomw@tigger 11% uname -m
i586
tomw@tigger 12% uname -p
unknown

or is this just a feature;-)
-- 
======================================================
= tom wible                                          =
= trw                         [EMAIL PROTECTED] =
= rva/1900                         703-294-4744
======================================================

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to