On Wed, Jan 14, 2004 at 05:43:18PM -0500, David Z Maze wrote:
> case `uname -a` in
>   Linux*)

O-oh, I completely missed the possibility not to use awk & friends...

> Which has the minor advantage of only using shell primitives, aside
> from the call out to uname itself.

Heh, yet I have something better :-) :

case "$OSTYPE" in
        ...
esac

Cheers,
Jan.

-- 
Jan Minar                   "Please don't CC me, I'm subscribed." x 9

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to