>    +uname -m = `(uname -m) 2>/dev/null || echo unknown`
>    +uname -r = `(uname -r) 2>/dev/null || echo unknown`
>    +uname -s = `(uname -s) 2>/dev/null || echo unknown`
>    +uname -v = `(uname -v) 2>/dev/null || echo unknown`

> Wouldn't it be better to run `uname -a'?  That way you should get all
> the output that uname can give you.

Actually, I think that's kind of troublesome.  I've seen various
platforms' uname command give back values that contain whitespace.  If you
only run `uname -a', then it makes it difficult to see which tokens belong
to which part of the output.

Let's stick with running the necessary commands only.  Getting *any*
information will be vastly superior to what we're doing now--which is
nothing!

Ben

Reply via email to