#!/bin/sh

# Figure out the OS name if possible.
#
# Hacked into existence by Larry McVoy (lm@sun.com now lm@sgi.com).
# Copyright (c) 1994 Larry McVoy.  GPLed software.
# $Id: os,v 1.1 1994/11/23 07:16:48 lm Exp $
case `uname -s` in 
	*HP-UX*)        echo hpux;;
	*Linux*)        echo linux;;
	*IRIX*)         echo irix;;
	*AIX*)          echo aix;;
	*BSD*)          echo bsd;;
	*OSF1*)         echo osf1;;
	*SunOS*)        case `uname -r` in 
				4*)     echo sunos;;
				5*)     echo solaris;;
				*)      echo unknown;; 
			esac;; 
	*)              echo unknown;; 
esac 
