.\" -*- coding: UTF-8 -*- .\" $NetBSD: primes.6,v 1.6 2018/02/03 15:40:29 christos Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" This code is derived from software contributed to Berkeley by .\" Landon Curt Noll. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" @(#)factor.6 8.1 (Berkeley) 5/31/93 .\" .\" .\" By Landon Curt Noll, http://www.isthe.com/chongo/index.html /\oo/\ .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .Dd 2. Februar 2018 .Dt PRIMES 6 .Os .Sh BEZEICHNUNG .Nm primes .Nd Primzahlen generieren .Sh ÜBERSICHT .Nm primes .Op Fl dh .Op Ar Start Op Ar Stopp .Sh BESCHREIBUNG Das Hilfswerkzeug .Nm gibt Primzahlen (eine pro Zeile) in aufsteigender Reihenfolge aus. Es beginnt bei oder oberhalb von .Ar Start und fährt bis (aber nicht einschließlich) .Ar Stopp fort. Der Wert .Ar Start muss mindestens 0 und darf nicht größer als .Ar Stopp sein. Der Wert .Ar Stopp darf nicht größer als 3825123056546413050 sein. Der Vorgabewert für .Ar Stopp ist 3825123056546413050. .Pp Wird das Hilfswerkzeug ohne Argumente aufgerufen, dann wird .Ar Start aus der Standardeingabe gelesen und .Ar Stopp als 3825123056546413050 angenommen. Dem Wert .Ar Start kann ein einzelnes »\&+« vorangestellt werden. Der Wert .Ar Start wird durch ein Zeichen, das keine Ziffer ist (wie ein Zeilenumbruch) beendet. Die Eingabezeile darf nicht länger als 255 Zeichen sein. .Pp Wird das Argument .Fl d angegeben, gibt .Nm den Unterschied zwischen der aktuellen und der vorherigen Primzahl aus. .Pp Wird das Argument .Fl h angegeben, gibt .Nm die Primzahl hexadezimal aus. .Sh DIAGNOSE Werte außerhalb des Bereichs oder ungültige Eingaben führen zu einer entsprechenden Fehlermeldung auf der Standardfehlerausgabe. .Sh AUTOREN .An -nosplit Ursprünglich von .An Landon Curt Noll , von .An Colin Percival auf einige 64-bit-Primzahlen erweitert. .Sh FEHLER Dieses Programm .Nm gibt Ihnen keinen Weltrekord. .Pp .Sh ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von Helge Kreutzmann erstellt. .Pp Diese Übersetzung ist Freie Dokumentation; lesen Sie die .Lk https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. .Pp Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die Mailingliste der Übersetzer: .Mt debian-l10n-german@lists.debian.org .Me .