👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for primes (netbsd section 6)

PRIMES(6)				 BSD Games Manual				PRIMES(6)

NAME
     primes -- generate primes

SYNOPSIS
     primes [-d] [start [stop]]

DESCRIPTION
     The primes utility prints primes in ascending order, one per line, starting at or above
     start and continuing until, but not including stop.  The start value must be at least 0 and
     not greater than stop.  The stop value must not be greater than 4294967295.  The default
     value of stop is 4294967295.

     When the primes utility is invoked with no arguments, start is read from standard input.
     stop is taken to be 4294967295.  The start value may be preceded by a single '+'.	The start
     value is terminated by a non-digit character (such as a newline).	The input line must not
     be longer than 255 characters.  When given the -d argument, primes prints the difference
     between the current and the previous prime.

DIAGNOSTICS
     Out of range or invalid input results in an appropriate error message being written to stan-
     dard error.

BUGS
     primes won't get you a world record.

BSD					 February 3, 2008				      BSD


All times are GMT -4. The time now is 07:05 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?