Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ u3b(1) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

test(1)

true(1)

MACHID(1)  —  Silicon Graphics

NAME

m68000, m68k, pdp11, u3b, vax − provide truth value about your processor type

SYNOPSIS

m68000

m68k

pdp11

u3b

vax

DESCRIPTION

The following commands will return a true value (exit code of 0) if you are on a processor that the command name indicates. 

m68000 True if you are on a 68000. 

m68k True if you are on a 68000. 

pdp11 True if you are on a PDP-11/45 or PDP-11/70. 

u3b
True if you are on a 3B20S.

vax
True if you are on a VAX-11/750 or VAX-11/780. 

The commands that do not apply will return a false (non-zero) value.  These commands are often used within make(1) makefiles and shell procedures to increase portability.

SEE ALSO

sh(1), test(1), true(1). 

Version 2.5r1  —  October 29, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026