primes man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

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, start‐
     ing 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 standard error.

BUGS
     primes won't get you a world record.

BSD			       February 3, 2008				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net