Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

ksh(1)

make(1)

sh(1)

test(1)

true(1)




machid(1) machid(1)
NAME m68k, pdp11, u3b, u3b2, u3b5, u3b15, vax - provide truth value about processor type SYNOPSIS m68k pdp11 u3b u3b2 u3b5 u3b15 vax DESCRIPTION The following commands (corresponding to programs) will re- turn a true value (exit code of 0) if program currently runs on a processor that is indicated by the command name. m68k True if program currently runs on a 680x0. pdp11 True if program currently runs on a PDP-11/45 or PDP-11/70. u3b True if program currently runs on a 3B 20S. u3b2 True if program currently runs on a 3B 2 com- puter. u3b5 True if program currently runs on a 3B 5 com- puter. u3b15 True if program currently runs on a 3B 15 com- puter. vax True if program currently runs on a VAX-11/750 or VAX-11/780. The commands that do not apply will return a false (nonzero) value. These commands are often used within make(1) makefiles and shell procedures to increase portability. FILES /bin/m68k /bin/pdp11 /bin/u3b /bin/u3b2 /bin/u3b5 /bin/u3b15 /bin/vax April, 1990 1



machid(1) machid(1)
SEE ALSO csh(1), ksh(1), make(1), sh(1), test(1), true(1). 2 April, 1990

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