MACHID(1) — Kubota Pacfic Computer Inc. (Essential/User Environment Utilities)
NAME
machid: titan, mips, m68000, pdp11, u3b, u3b2, u3b5, vax − get processor type truth value
SYNOPSIS
titan
mips
m68000
pdp11
u3b
u3b2
u3b5
vax
DESCRIPTION
The following commands return a true value (exit code of 0) if you are using a processor that the command name indicates.
titan True for the Stardent Computer Inc. Titan 1500/3000 graphics supercomputer.
mips
True for a MIPS M/ series computer.
m68000
True for a Motorola 680x0 series processor.
pdp11
True for a PDP-11/45 or PDP-11/70.
u3b
True for a 3B20 computer.
u3b2
True for a 3B2 computer.
u3b5
True for a 3B5 computer.
vax
True for a VAX-11/750 or VAX-11/780.
The commands that do not apply return a false (non-zero) value. These commands are often used within makefiles (see make(1)) and shell procedures (see sh(1)) to increase portability.
SEE ALSO
sh(1), make(1), test(1), true(1).
September 02, 1992