.\" -*- 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 februarie 2018 .Dt PRIMES 6 .Os .Sh NUME .Nm primes .Nd generează numere prime .Sh REZUMAT .Nm primes .Op Fl dh .Op Ar start Op Ar stop .Sh DESCRIERE Programul .Nm imprimă numere prime în ordine crescătoare, câte unul pe linie, începând de la sau mai sus de .Ar start și continuând până la, dar fără a include .Ar stop . Valoarea .Ar start trebuie să fie cel puțin 0 și nu mai mare decât .Ar stop . Valoarea .Ar stop nu trebuie să fie mai mare decât 3825123056546413050. Valoarea implicită a lui .Ar stop este 3825123056546413050. .Pp Atunci când programul .Nm este invocat fără argumente, .Ar start este citit de la intrarea standard, iar .Ar stop este considerat a fi 3825123056546413050. Valoarea .Ar start poate fi precedată de un singur .Sq \&+ . Valoarea .Ar start se termină cu un caracter care nu este o cifră (cum ar fi o linie nouă). Linia de intrare nu trebuie să aibă mai mult de 255 de caractere. .Pp Atunci când i se dă argumentul .Fl d , .Nm imprimă diferența dintre numărul prim curent și cel anterior. .Pp Atunci când primește argumentul .Fl h , .Nm imprimă numerele prime în hexazecimal. .Sh DIAGNOSTICARE O intrare în afara intervalului sau o intrare nevalidă are ca rezultat un mesaj de eroare corespunzător la ieșirea de eroare standard. .Sh AUTORI .An -nosplit Inițial de .An Landon Curt Noll , extins la unele numere prime pe 64 de biți de .An Colin Percival . .Sh ERORI Acest program .Nm nu vă va aduce un record mondial. .Pp .Sh TRADUCERE Traducerea în limba română a acestui manual a fost făcută de Remus-Gabriel Chelu . .Pp Această traducere este documentație gratuită; citiți .Lk https://www.gnu.org/licenses/gpl-3.0.html Licența publică generală GNU Versiunea 3 sau o versiune ulterioară cu privire la condiții privind drepturile de autor. NU se asumă NICIO RESPONSABILITATE. .Pp Dacă găsiți erori în traducerea acestui manual, vă rugăm să trimiteți un e-mail la .Mt translation-team-ro@lists.sourceforge.net .Me .