httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: OS/2
Date Thu, 17 Sep 1998 01:32:38 GMT
Really? Cool. 'uname' on OS/2 just returns OS/2 ?

Where does 'uname' live on OS/2 (ie: it's full pathname)?

Brian Havard wrote:
> 
> On Wed, 16 Sep 1998 17:06:21 -0400 (EDT), Jim Jagielski wrote:
> 
> >Is there anyway, perhaps by looking at the file-system or something, to
> >determine right off the bat if we are under OS2? I guess we could use
> >GuessOS... Why? I'd like to avoid having 2 versions of PrintPath and
> >have PrintPath know "internally" if it's running under OS/2. Calling
> >GuessOS inside there seems ugly.
> >
> >Brian (H)? Any ideas?
> 
> This works: 
> 
> if [ "`uname`" = "OS/2" ]; then
>   echo This is OS/2
> fi
> 
> 
> --
>  ______________________________________________________________________________
>  |  Brian Havard                 |  "He is not the messiah!                   |
>  |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
>  ------------------------------------------------------------------------------
> 
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message