File: target

package info (click to toggle)
lmbench 3.0-a9%2Bdebian.1-3
  • links: PTS
  • area: non-free
  • in suites: bullseye
  • size: 2,752 kB
  • sloc: ansic: 12,328; perl: 6,531; sh: 3,965; makefile: 730
file content (24 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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$
case `uname -s` in 
	*HP-UX*)        echo hpux;;
	*Linux*)        echo linux;;
	*IRIX*)         echo irix;;
	*AIX*)          echo aix;;
	BSD/OS)         echo bsdi;;
	*BSD*)          echo bsd;;
	*OSF1*)         echo osf1;;
	*ULTRIX*)       echo ultrix;;
	*SunOS*)        case `uname -r` in 
				4*)     echo sunos;;
				5*)     echo solaris;;
				*)      echo unknown;; 
			esac;; 
	*)              echo unknown;; 
esac 
exit 0