.\" -*- coding: UTF-8 -*- '\" t .\" Title: vercmp .\" Author: [see the "Authors" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2024-02-06 .\" Manual: Pacman Manual .\" Source: Pacman 6.0.2 .\" Language: English .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH VERCMP 8 "6 fevereiro 2024" "Pacman 6\&.0\&.2" "Manual do pacman" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH NOME vercmp \- utilitário de comparação de versões .SH SINOPSE .sp \fIvercmp\fP [\-h] [\-\-help] .SH DESCRIÇÃO .sp \fIvercmp\fP é usado para determinar a relação entre dois números de versão fornecidos\&. Ele produz valores da seguinte forma: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} < 0 : se ver1 < ver2 .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} = 0 : se ver1 == ver2 .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} > 0 : se ver1 > ver2 .RE .sp A comparação de versões funciona da seguinte maneira: .sp .if n \{\ .RS 4 .\} .nf Alfanumérico: 1\&.0a < 1\&.0b < 1\&.0beta < 1\&.0p < 1\&.0pre < 1\&.0rc < 1\&.0 < 1\&.0\&.a < 1\&.0\&.1 Numérico: 1 < 1\&.0 < 1\&.1 < 1\&.1\&.1 < 1\&.2 < 2\&.0 < 3\&.0\&.0 .fi .if n \{\ .RE .\} .sp Além disso, as strings de versão podem ter um valor \fIepoch\fP definido que substituirá qualquer comparação de versão, a menos que os valores da época sejam iguais\&. Isso é especificado em uma formato época:versão\-lançamento\&. Por exemplo, 2:1\&.0\-1 é sempre maior que 1:3\&.6\-1\&. .sp Lembre\-se de que o \fIpkgrel\fP só é comparado se estiver disponível em ambas as versões fornecidas para esta ferramenta\&. Por exemplo, comparar 1\&.5\-1 e 1\&.5 resultará em 0; comparar 1\&.5\-1 e 1\&.5\-2 resultará em < 0 conforme esperado\&. Isso é principalmente para suportar dependências com versão que não incluem o \fIpkgrel\fP\&. .SH OPÇÕES .PP \fB\-h, \-\-help\fP .RS 4 Exibe um resumo dos códigos de retorno disponíveis\&. Deve ser a primeira opção especificada\&. .RE .SH EXEMPLOS .sp .if n \{\ .RS 4 .\} .nf $ vercmp 1 2 \-1 .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf $ vercmp 2 1 1 .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf $ vercmp 2\&.0\-1 1\&.7\-6 1 .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf $ vercmp 2\&.0 2\&.0\-13 0 .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf $ vercmp 4\&.34 1:001 \-1 .fi .if n \{\ .RE .\} .SH "VEJA TAMBÉM" .sp \fBpacman\fP(8), \fBmakepkg\fP(8), \fBlibalpm\fP(3) .sp Consulte o site do pacman em https://archlinux\&.org/pacman/ para obter informações atuais sobre o pacman e suas ferramentas relacionadas\&. .SH BUGS .sp Bugs? Você deve estar brincando; não há erros neste software\&. Mas se por acaso estivermos errados, envie um relatório de erro com o máximo de detalhes possível no rastreador de erros do Arch Linux na seção Pacman\&. .SH AUTORES .sp Atuais mantenedores: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Allan McRae .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Andrew Gregory .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Eli Schwartz .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Morgan Adamiec .RE .sp Principais colaboradores anteriores: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Judd Vinet .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Aurelien Foret .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Aaron Griffin .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Dan McGee .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Xavier Chantry .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Nagy Gabor .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03' .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Dave Reisner .RE .sp Para outros contribuidores, use git shortlog \-s no repositório pacman\&.git\&. .PP .SH TRADUÇÃO A tradução para português brasileiro desta página man foi criada por Rafael Fontenelle . .PP Esta tradução é uma documentação livre; leia a .UR https://www.gnu.org/licenses/gpl-3.0.html Licença Pública Geral GNU Versão 3 .UE ou posterior para as condições de direitos autorais. Nenhuma responsabilidade é aceita. .PP Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para .MT debian-l10n-portuguese@lists.debian.org a lista de discussão de tradutores .ME .