Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PRIMES(6)  —  GAMES AND DEMOS

NAME

primes − print all primes larger than some given number

SYNOPSIS

/usr/games/primes [ number ]

DESCRIPTION

primes reads a number from the standard input and prints all primes larger than the given number.  If number is given as an argument, it uses that number rather than reading one from the standard input. 

BUGS

It obviously cannot print all primes larger than some given number.  It will not behave very sensibly when it overflows an int. 

Solbourne Computer, Inc.  —  16 February 1988

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