PRIMES(6)
Okay bestie, welcome to PRIMES(6) from the Games Manual β yes, the Games Manual, and this little utility is here to generate primes. No cap. β¨
π NAME π
primes β generate primes. Thatβs the whole name, and honestly it ate. π
π SYNOPSIS π
primes [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. Itβs giving orderly prime parade. π
- The start value must be at least
0and 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. Then stop is taken to be 4294967295. Yep, thatβs the default, bestie. π
- 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
255characters. Like, do not test her. π
β DIAGNOSTICS β
Out of range or invalid input results in an appropriate error message being written to standard error. So if somethingβs off, she will tell you on standard error, and thatβs the vibe check. π«Ά
π BUGS π
primes won't get you a world record. Thatβs the bug note, and itβs lowkey iconic. π
This page is from Debian, dated February 8, 2004 β vintage, but still slaying. Mwah πβ¨
π¦ where this page comes from
- fedora 43: bsd-games 2.17-82.fc43 Β· LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: bsd-games 2.17-84.fc44 Β· LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising
- nixos 26.05: bsd-games 2.17
- nixpkgs unstable: bsd-games 2.17
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 Β· BSD-3-Clause
- Copyright (c) 1989, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms