Debian Codegraph @

po/es/man3/strverscmp.3.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Miguel Pérez Ibars <[email protected]>, 2004.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2004-08-13 19:55+0200\n"
10 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
11 "Language-Team: Spanish <[email protected]>\n"
12 "Language: es\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17 "X-Generator: Lokalize 20.04.1\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, fuzzy, no-wrap
23 #| msgid "B<strverscmp>()"
24 msgid "strverscmp"
25 msgstr "B<strverscmp>()"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 Febrero 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "strverscmp - compare two version strings"
52 msgstr "strverscmp - compara dos cadenas de versión"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid ""
79 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
80 "B<#include E<lt>string.hE<gt>>\n"
81 msgstr ""
82 "B<#define _GNU_SOURCE> /* Vea feature_test_macros(7) */\n"
83 "B<#include E<lt>string.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
90 msgstr "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIPCIÓN"
98
99 #. classical solution: "rename jan jan0 jan?"
100 #. sort -V sorts a-1.0a < a-1.0.1a; strverscmp() does not
101 #. type: Plain text
102 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
103 #: opensuse-leap-16-1 opensuse-tumbleweed
104 #, fuzzy
105 #| msgid ""
106 #| "Thus, the task of B<strverscmp>() is to compare two strings and find the "
107 #| "\"right\" order, while B<strcmp>(3) finds only the lexicographic order. "
108 #| "This function does not use the locale category B<LC_COLLATE>, so is meant "
109 #| "mostly for situations where the strings are expected to be in ASCII."
110 msgid ""
111 "For a dataset like I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... sorting it "
112 "lexicographically yields I<jan1>, I<jan10>, ..., I<jan2>, ..., I<jan9>. The "
113 "task of B<strverscmp>() is to compare two strings yielding the former "
114 "order, while B<strcmp>(3) finds only the lexicographic order. This "
115 "function does not use the locale category B<LC_COLLATE>, so is meant mostly "
116 "for situations where the strings are expected to be in ASCII. This is "
117 "different from the ordering produced by B<sort>(1) B<-V>."
118 msgstr ""
119 "De esta manera, la tarea de B<strverscmp>() es comparar dos cadenas y "
120 "encontrar el orden \"correcto\", mientras que B<strcmp>(3) solamente "
121 "encuentra el orden lexicográfico. Esta función no usa la categoría de "
122 "localización B<LC_COLLATE>, por lo que se utiliza sobre todo en situaciones "
123 "donde se espera que las cadenas esten en formato ASCII."
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "What this function does is the following. If both strings are equal, return "
130 "0. Otherwise, find the position between two bytes with the property that "
131 "before it both strings are equal, while directly after it there is a "
132 "difference. Find the largest consecutive digit strings containing (or "
133 "starting at, or ending at) this position. If one or both of these is empty, "
134 "then return what B<strcmp>(3) would have returned (numerical ordering of "
135 "byte values). Otherwise, compare both digit strings numerically, where "
136 "digit strings with one or more leading zeros are interpreted as if they have "
137 "a decimal point in front (so that in particular digit strings with more "
138 "leading zeros come before digit strings with fewer leading zeros). Thus, "
139 "the ordering is I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>."
140 msgstr ""
141 "Lo que hace esta función es lo siguiente. Si ambas cadenas son iguales, "
142 "devuelve 0. En otro caso encuentra la posición entre dos bytes con la "
143 "propiedad de que antes de esta posición ambas cadenas son iguales, mientras "
144 "que justamente después hay una diferencia. Encuentra las cadenas de dígitos "
145 "consecutivos más largas que contienen (o comienzan o terminan en) esta "
146 "posición. Si una o ambas están vacías, devuelve lo que B<strcmp> hubiera "
147 "devuelto (ordenamiento numérico de los valores de byte). En otro caso, "
148 "compara ambas cadenas de dígitos numéricamente, donde las cadenas de dígitos "
149 "con uno o más ceros al principio son interpretadas como si tuvieran un punto "
150 "decimal delante (así que las cadenas de dígitos con más ceros al principio "
151 "aparecen antes que aquellas cadenas de dígitos con menos ceros al "
152 "principio). Así, el ordenamiento es I<000>, I<00>, I<01>, I<010>, I<09>, "
153 "I<0>, I<1>, I<9>, I<10>."
154
155 #. type: SH
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid "RETURN VALUE"
160 msgstr "VALOR DEVUELTO"
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "The B<strverscmp>() function returns an integer less than, equal to, or "
167 "greater than zero if I<s1> is found, respectively, to be earlier than, equal "
168 "to, or later than I<s2>."
169 msgstr ""
170 "La función B<strverscmp>() devuelve un entero menor que, igual a, o mayor "
171 "que cero si I<s1> es, respectivamente, anterior, igual, o posterior a I<s2>."
172
173 #. type: SH
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "ATTRIBUTES"
178 msgstr "ATRIBUTOS"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "For an explanation of the terms used in this section, see B<attributes>(7)."
185 msgstr ""
186 "Para obtener una explicación de los términos usados en esta sección, véase "
187 "B<attributes>(7)."
188
189 #. type: tbl table
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "Interface"
194 msgstr "Interfaz"
195
196 #. type: tbl table
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "Attribute"
201 msgstr "Atributo"
202
203 #. type: tbl table
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "Value"
208 msgstr "Valor"
209
210 #. type: tbl table
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid ".na\n"
215 msgstr ".na\n"
216
217 #. type: tbl table
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid ".nh\n"
222 msgstr ".nh\n"
223
224 #. type: tbl table
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<strverscmp>()"
229 msgstr "B<strverscmp>()"
230
231 #. type: tbl table
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "Thread safety"
236 msgstr "Seguridad del hilo"
237
238 #. type: tbl table
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "MT-Safe"
243 msgstr "Multi-hilo seguro"
244
245 #. #-#-#-#-# archlinux: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
246 #. FIXME: The marking is different from that in the glibc manual,
247 #. which has:
248 #. strverscmp: MT-Safe locale
249 #. glibc manual says strverscmp should have marking locale because it calls
250 #. isdigit() multiple times and isdigit() uses locale variable.
251 #. But isdigit() has two implementations. With different compiling conditions,
252 #. we may call isdigit() in macro, then strverscmp() should not have locale
253 #. problem.
254 #. type: SH
255 #. #-#-#-#-# debian-trixie: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
256 #. FIXME: The marking is different from that in the glibc manual,
257 #. which has:
258 #. strverscmp: MT-Safe locale
259 #. glibc manual says strverscmp should have marking locale because it calls
260 #. isdigit() multiple times and isdigit() uses locale variable.
261 #. But isdigit() has two implementations. With different compiling conditions,
262 #. we may call isdigit() in macro, then strverscmp() should not have locale
263 #. problem.
264 #. type: SH
265 #. #-#-#-#-# debian-unstable: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
266 #. FIXME: The marking is different from that in the glibc manual,
267 #. which has:
268 #. strverscmp: MT-Safe locale
269 #. glibc manual says strverscmp should have marking locale because it calls
270 #. isdigit() multiple times and isdigit() uses locale variable.
271 #. But isdigit() has two implementations. With different compiling conditions,
272 #. we may call isdigit() in macro, then strverscmp() should not have locale
273 #. problem.
274 #. type: SH
275 #. #-#-#-#-# fedora-44: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
276 #. FIXME: The marking is different from that in the glibc manual,
277 #. which has:
278 #. strverscmp: MT-Safe locale
279 #. glibc manual says strverscmp should have marking locale because it calls
280 #. isdigit() multiple times and isdigit() uses locale variable.
281 #. But isdigit() has two implementations. With different compiling conditions,
282 #. we may call isdigit() in macro, then strverscmp() should not have locale
283 #. problem.
284 #. type: SH
285 #. #-#-#-#-# fedora-rawhide: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
286 #. FIXME: The marking is different from that in the glibc manual,
287 #. which has:
288 #. strverscmp: MT-Safe locale
289 #. glibc manual says strverscmp should have marking locale because it calls
290 #. isdigit() multiple times and isdigit() uses locale variable.
291 #. But isdigit() has two implementations. With different compiling conditions,
292 #. we may call isdigit() in macro, then strverscmp() should not have locale
293 #. problem.
294 #. type: SH
295 #. #-#-#-#-# mageia-cauldron: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
296 #. FIXME: The marking is different from that in the glibc manual,
297 #. which has:
298 #. strverscmp: MT-Safe locale
299 #. glibc manual says strverscmp should have marking locale because it calls
300 #. isdigit() multiple times and isdigit() uses locale variable.
301 #. But isdigit() has two implementations. With different compiling conditions,
302 #. we may call isdigit() in macro, then strverscmp() should not have locale
303 #. problem.
304 #. type: SH
305 #. #-#-#-#-# opensuse-leap-16-1: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
306 #. FIXME: The marking is different from that in the glibc manual,
307 #. which has:
308 #. strverscmp: MT-Safe locale
309 #. glibc manual says strverscmp should have marking locale because it calls
310 #. isdigit() multiple times and isdigit() uses locale variable.
311 #. But isdigit() has two implementations. With different compiling conditions,
312 #. we may call isdigit() in macro, then strverscmp() should not have locale
313 #. problem.
314 #. type: SH
315 #. #-#-#-#-# opensuse-tumbleweed: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-#
316 #. FIXME: The marking is different from that in the glibc manual,
317 #. which has:
318 #. strverscmp: MT-Safe locale
319 #. glibc manual says strverscmp should have marking locale because it calls
320 #. isdigit() multiple times and isdigit() uses locale variable.
321 #. But isdigit() has two implementations. With different compiling conditions,
322 #. we may call isdigit() in macro, then strverscmp() should not have locale
323 #. problem.
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "STANDARDS"
329 msgstr "ESTÁNDARES"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "GNU."
335 msgstr "GNU."
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "EXAMPLES"
342 msgstr "EJEMPLOS"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid ""
348 "The program below can be used to demonstrate the behavior of "
349 "B<strverscmp>(). It uses B<strverscmp>() to compare the two strings given "
350 "as its command-line arguments. An example of its use is the following:"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
355 #: opensuse-tumbleweed
356 #, fuzzy, no-wrap
357 #| msgid ""
358 #| "$ B<./a.out jan1 jan10>\n"
359 #| "jan1 E<lt> jan10\n"
360 msgid ""
361 "$B< ./a.out jan1 jan10>;\n"
362 "jan1 E<lt> jan10\n"
363 msgstr ""
364 "$ B<./a.out jan1 jan10>\n"
365 "jan1 E<lt> jan10\n"
366
367 #. type: SS
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "Program source"
372 msgstr "Código fuente"
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid ""
379 "#define _GNU_SOURCE\n"
380 "#include E<lt>stdio.hE<gt>\n"
381 "#include E<lt>stdlib.hE<gt>\n"
382 "#include E<lt>string.hE<gt>\n"
383 "\\&\n"
384 "int\n"
385 "main(int argc, char *argv[])\n"
386 "{\n"
387 " int res;\n"
388 "\\&\n"
389 " if (argc != 3) {\n"
390 " fprintf(stderr, \"Usage: %s E<lt>string1E<gt> E<lt>string2E<gt>\\[rs]n\", argv[0]);\n"
391 " exit(EXIT_FAILURE);\n"
392 " }\n"
393 "\\&\n"
394 " res = strverscmp(argv[1], argv[2]);\n"
395 "\\&\n"
396 " printf(\"%s %s %s\\[rs]n\", argv[1],\n"
397 " (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n"
398 "\\&\n"
399 " exit(EXIT_SUCCESS);\n"
400 "}\n"
401 msgstr ""
402
403 #. SRC END
404 #. type: SH
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "SEE ALSO"
409 msgstr "VÉASE TAMBIÉN"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
415 msgstr "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
416
417 #. type: TH
418 #: debian-trixie
419 #, no-wrap
420 msgid "2024-06-15"
421 msgstr "15 Junio 2024"
422
423 #. type: TH
424 #: debian-trixie
425 #, no-wrap
426 msgid "Linux man-pages 6.9.1"
427 msgstr "Páginas de Manual de Linux 6.9.1"
428
429 #. type: Plain text
430 #: debian-trixie
431 msgid "Standard C library (I<libc>, I<-lc>)"
432 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
433
434 #. classical solution: "rename jan jan0 jan?"
435 #. type: Plain text
436 #: debian-trixie
437 msgid ""
438 "Often one has files I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... and it "
439 "feels wrong when B<ls>(1) orders them I<jan1>, I<jan10>, ..., I<jan2>, ..., "
440 "I<jan9>. In order to rectify this, GNU introduced the I<-v> option to "
441 "B<ls>(1), which is implemented using B<versionsort>(3), which again uses "
442 "B<strverscmp>()."
443 msgstr ""
444 "A menudo se dispone de los ficheros I<jan1>, I<jan2>, ..., I<jan9>, "
445 "I<jan10>, ... y parece incorrecto cuando B<ls>(1) los ordena como I<jan1>, "
446 "I<jan10>, ..., I<jan2>, ..., I<jan9>. Para solucionar esto, GNU introdujo "
447 "la opción I<-v> a B<ls>(1), que es implementada usando B<versionsort>(3), "
448 "que a su vez utiliza B<strverscmp>()."
449
450 #. type: Plain text
451 #: debian-trixie
452 msgid ""
453 "Thus, the task of B<strverscmp>() is to compare two strings and find the "
454 "\"right\" order, while B<strcmp>(3) finds only the lexicographic order. "
455 "This function does not use the locale category B<LC_COLLATE>, so is meant "
456 "mostly for situations where the strings are expected to be in ASCII."
457 msgstr ""
458 "De esta manera, la tarea de B<strverscmp>() es comparar dos cadenas y "
459 "encontrar el orden \"correcto\", mientras que B<strcmp>(3) solamente "
460 "encuentra el orden lexicográfico. Esta función no usa la categoría de "
461 "localización B<LC_COLLATE>, por lo que se utiliza sobre todo en situaciones "
462 "donde se espera que las cadenas esten en formato ASCII."
463
464 #. type: Plain text
465 #: debian-trixie fedora-44 fedora-rawhide
466 #, no-wrap
467 msgid ""
468 "$ B<./a.out jan1 jan10>\n"
469 "jan1 E<lt> jan10\n"
470 msgstr ""
471 "$ B<./a.out jan1 jan10>\n"
472 "jan1 E<lt> jan10\n"
473
474 #. type: TH
475 #: fedora-44 fedora-rawhide
476 #, no-wrap
477 msgid "2024-12-16"
478 msgstr "16 Diciembre 2024"
479
480 #. type: TH
481 #: fedora-44 fedora-rawhide
482 #, no-wrap
483 msgid "Linux man-pages 6.13"
484 msgstr "Páginas de Manual de Linux 6.13"
485
486 #. type: TH
487 #: mageia-cauldron
488 #, no-wrap
489 msgid "Linux man-pages 6.17"
490 msgstr "Páginas de Manual de Linux 6.17"
491
492 #. type: TH
493 #: opensuse-leap-16-1 opensuse-tumbleweed
494 #, no-wrap
495 msgid "Linux man-pages (unreleased)"
496 msgstr "Páginas de Manual de Linux (no publicadas)"