| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010-2012, 2014. |
| 18 |
# Frédéric Hantrais <[email protected]>, 2013, 2014. |
| 19 |
# Grégoire Scano <[email protected]>, 2020. |
| 20 |
# Lucien Gentis <[email protected]>, 2021. |
| 21 |
msgid "" |
| 22 |
msgstr "" |
| 23 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 24 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 25 |
"PO-Revision-Date: 2024-03-12 01:35+0100\n" |
| 26 |
"Last-Translator: Lucien Gentis <[email protected]>\n" |
| 27 |
"Language-Team: French <[email protected]>\n" |
| 28 |
"Language: fr\n" |
| 29 |
"MIME-Version: 1.0\n" |
| 30 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 31 |
"Content-Transfer-Encoding: 8bit\n" |
| 32 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 33 |
"X-Generator: Poedit 2.2.1\n" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 37 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 38 |
#, no-wrap |
| 39 |
msgid "strverscmp" |
| 40 |
msgstr "strverscmp" |
| 41 |
|
| 42 |
#. type: TH |
| 43 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 44 |
#: opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "2026-02-08" |
| 47 |
msgstr "8 février 2026" |
| 48 |
|
| 49 |
#. type: TH |
| 50 |
#: archlinux debian-unstable |
| 51 |
#, no-wrap |
| 52 |
msgid "Linux man-pages 6.18" |
| 53 |
msgstr "Pages du manuel de Linux 6.18" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "NAME" |
| 60 |
msgstr "NOM" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "strverscmp - compare two version strings" |
| 66 |
msgstr "strverscmp - Comparer deux chaînes versionnées" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "LIBRARY" |
| 73 |
msgstr "BIBLIOTHÈQUE" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 77 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 79 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 80 |
|
| 81 |
#. type: SH |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "SYNOPSIS" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "" |
| 93 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 94 |
"B<#include E<lt>string.hE<gt>>\n" |
| 95 |
msgstr "" |
| 96 |
"B<#define _GNU_SOURCE> /* Consultez feature_test_macros(7) */\n" |
| 97 |
"B<#include E<lt>string.hE<gt>>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n" |
| 104 |
msgstr "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n" |
| 105 |
|
| 106 |
#. type: SH |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "DESCRIPTION" |
| 111 |
msgstr "DESCRIPTION" |
| 112 |
|
| 113 |
#. classical solution: "rename jan jan0 jan?" |
| 114 |
#. sort -V sorts a-1.0a < a-1.0.1a; strverscmp() does not |
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 117 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
#, fuzzy |
| 119 |
#| msgid "" |
| 120 |
#| "Thus, the task of B<strverscmp>() is to compare two strings and find the " |
| 121 |
#| "\"right\" order, while B<strcmp>(3) finds only the lexicographic order. " |
| 122 |
#| "This function does not use the locale category B<LC_COLLATE>, so is meant " |
| 123 |
#| "mostly for situations where the strings are expected to be in ASCII." |
| 124 |
msgid "" |
| 125 |
"For a dataset like I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... sorting it " |
| 126 |
"lexicographically yields I<jan1>, I<jan10>, ..., I<jan2>, ..., I<jan9>. The " |
| 127 |
"task of B<strverscmp>() is to compare two strings yielding the former " |
| 128 |
"order, while B<strcmp>(3) finds only the lexicographic order. This " |
| 129 |
"function does not use the locale category B<LC_COLLATE>, so is meant mostly " |
| 130 |
"for situations where the strings are expected to be in ASCII. This is " |
| 131 |
"different from the ordering produced by B<sort>(1) B<-V>." |
| 132 |
msgstr "" |
| 133 |
"Ainsi, la tâche de B<strverscmp>() consiste à comparer deux chaînes et à " |
| 134 |
"déterminer le «\\ bon\\ » ordre, alors que B<strcmp>(3) détermine seulement " |
| 135 |
"l'ordre lexicographique. Cette fonction n'utilise pas la catégorie de " |
| 136 |
"localisation B<LC_COLLATE>, elle vise donc principalement les situations " |
| 137 |
"dans lesquelles les chaînes sont supposées être en ASCII." |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"What this function does is the following. If both strings are equal, return " |
| 144 |
"0. Otherwise, find the position between two bytes with the property that " |
| 145 |
"before it both strings are equal, while directly after it there is a " |
| 146 |
"difference. Find the largest consecutive digit strings containing (or " |
| 147 |
"starting at, or ending at) this position. If one or both of these is empty, " |
| 148 |
"then return what B<strcmp>(3) would have returned (numerical ordering of " |
| 149 |
"byte values). Otherwise, compare both digit strings numerically, where " |
| 150 |
"digit strings with one or more leading zeros are interpreted as if they have " |
| 151 |
"a decimal point in front (so that in particular digit strings with more " |
| 152 |
"leading zeros come before digit strings with fewer leading zeros). Thus, " |
| 153 |
"the ordering is I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>." |
| 154 |
msgstr "" |
| 155 |
"Cette fonction travaille comme suit : si les deux chaînes sont égales, elle " |
| 156 |
"renvoie B<0>. Sinon, elle recherche une position entre deux octets ayant la " |
| 157 |
"propriété suivante\\ : avant cette position, les deux chaînes sont égales, " |
| 158 |
"alors qu'immédiatement après, elles diffèrent. Elle détermine alors les plus " |
| 159 |
"longues chaînes de chiffres consécutifs contenant (ou commençant ou se " |
| 160 |
"finissant à) cette position. Si l'une des chaînes ou bien les deux chaînes " |
| 161 |
"sont vides, alors elle renvoie ce que B<strcmp>(3) aurait renvoyé " |
| 162 |
"(classement numérique des valeurs d'octets). Sinon, elle compare " |
| 163 |
"numériquement les deux chaînes de chiffres, où les chaînes de chiffres " |
| 164 |
"commençant par un ou plusieurs zéros sont interprétées comme si elles " |
| 165 |
"avaient un séparateur décimal en en-tête (de telle sorte que notamment les " |
| 166 |
"chaînes de chiffres commençant par davantage de zéros viennent avant les " |
| 167 |
"chaînes de chiffres avec moins de zéros en en-tête). Ainsi, le classement " |
| 168 |
"est I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>." |
| 169 |
|
| 170 |
#. type: SH |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "RETURN VALUE" |
| 175 |
msgstr "VALEUR RENVOYÉE" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"The B<strverscmp>() function returns an integer less than, equal to, or " |
| 182 |
"greater than zero if I<s1> is found, respectively, to be earlier than, equal " |
| 183 |
"to, or later than I<s2>." |
| 184 |
msgstr "" |
| 185 |
"La fonction B<strverscmp>() renvoie un entier inférieur, égal ou supérieur à " |
| 186 |
"zéro si I<s1> est déterminée comme étant respectivement plus récente, égale " |
| 187 |
"à ou postérieure à I<s2>." |
| 188 |
|
| 189 |
#. type: SH |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, no-wrap |
| 193 |
msgid "ATTRIBUTES" |
| 194 |
msgstr "ATTRIBUTS" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 201 |
msgstr "" |
| 202 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 203 |
"B<attributes>(7)." |
| 204 |
|
| 205 |
#. type: tbl table |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
#, no-wrap |
| 209 |
msgid "Interface" |
| 210 |
msgstr "Interface" |
| 211 |
|
| 212 |
#. type: tbl table |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "Attribute" |
| 217 |
msgstr "Attribut" |
| 218 |
|
| 219 |
#. type: tbl table |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
#, no-wrap |
| 223 |
msgid "Value" |
| 224 |
msgstr "Valeur" |
| 225 |
|
| 226 |
#. type: tbl table |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid ".na\n" |
| 231 |
msgstr ".na\n" |
| 232 |
|
| 233 |
#. type: tbl table |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
#, no-wrap |
| 237 |
msgid ".nh\n" |
| 238 |
msgstr ".nh\n" |
| 239 |
|
| 240 |
#. type: tbl table |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "B<strverscmp>()" |
| 245 |
msgstr "B<strverscmp>()" |
| 246 |
|
| 247 |
#. type: tbl table |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "Thread safety" |
| 252 |
msgstr "Sécurité des threads" |
| 253 |
|
| 254 |
#. type: tbl table |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "MT-Safe" |
| 259 |
msgstr "MT-Safe" |
| 260 |
|
| 261 |
#. #-#-#-#-# archlinux: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 262 |
#. FIXME: The marking is different from that in the glibc manual, |
| 263 |
#. which has: |
| 264 |
#. strverscmp: MT-Safe locale |
| 265 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 266 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 267 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 268 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 269 |
#. problem. |
| 270 |
#. type: SH |
| 271 |
#. #-#-#-#-# debian-trixie: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 272 |
#. FIXME: The marking is different from that in the glibc manual, |
| 273 |
#. which has: |
| 274 |
#. strverscmp: MT-Safe locale |
| 275 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 276 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 277 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 278 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 279 |
#. problem. |
| 280 |
#. type: SH |
| 281 |
#. #-#-#-#-# debian-unstable: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 282 |
#. FIXME: The marking is different from that in the glibc manual, |
| 283 |
#. which has: |
| 284 |
#. strverscmp: MT-Safe locale |
| 285 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 286 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 287 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 288 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 289 |
#. problem. |
| 290 |
#. type: SH |
| 291 |
#. #-#-#-#-# fedora-44: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 292 |
#. FIXME: The marking is different from that in the glibc manual, |
| 293 |
#. which has: |
| 294 |
#. strverscmp: MT-Safe locale |
| 295 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 296 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 297 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 298 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 299 |
#. problem. |
| 300 |
#. type: SH |
| 301 |
#. #-#-#-#-# fedora-rawhide: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 302 |
#. FIXME: The marking is different from that in the glibc manual, |
| 303 |
#. which has: |
| 304 |
#. strverscmp: MT-Safe locale |
| 305 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 306 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 307 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 308 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 309 |
#. problem. |
| 310 |
#. type: SH |
| 311 |
#. #-#-#-#-# mageia-cauldron: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 312 |
#. FIXME: The marking is different from that in the glibc manual, |
| 313 |
#. which has: |
| 314 |
#. strverscmp: MT-Safe locale |
| 315 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 316 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 317 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 318 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 319 |
#. problem. |
| 320 |
#. type: SH |
| 321 |
#. #-#-#-#-# opensuse-leap-16-1: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 322 |
#. FIXME: The marking is different from that in the glibc manual, |
| 323 |
#. which has: |
| 324 |
#. strverscmp: MT-Safe locale |
| 325 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 326 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 327 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 328 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 329 |
#. problem. |
| 330 |
#. type: SH |
| 331 |
#. #-#-#-#-# opensuse-tumbleweed: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 332 |
#. FIXME: The marking is different from that in the glibc manual, |
| 333 |
#. which has: |
| 334 |
#. strverscmp: MT-Safe locale |
| 335 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 336 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 337 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 338 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 339 |
#. problem. |
| 340 |
#. type: SH |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "STANDARDS" |
| 345 |
msgstr "NORMES" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "GNU." |
| 351 |
msgstr "GNU." |
| 352 |
|
| 353 |
#. type: SH |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "EXAMPLES" |
| 358 |
msgstr "EXEMPLES" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"The program below can be used to demonstrate the behavior of " |
| 365 |
"B<strverscmp>(). It uses B<strverscmp>() to compare the two strings given " |
| 366 |
"as its command-line arguments. An example of its use is the following:" |
| 367 |
msgstr "" |
| 368 |
"Le programme suivant présente le fonctionnement de B<strverscmp>(). Il " |
| 369 |
"utilise B<strverscmp>() pour comparer deux chaînes de caractères fournies " |
| 370 |
"sur la ligne de commande. Voici un exemple de son utilisation :" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 374 |
#: opensuse-tumbleweed |
| 375 |
#, fuzzy, no-wrap |
| 376 |
#| msgid "" |
| 377 |
#| "$ B<./a.out jan1 jan10>\n" |
| 378 |
#| "jan1 E<lt> jan10\n" |
| 379 |
msgid "" |
| 380 |
"$B< ./a.out jan1 jan10>;\n" |
| 381 |
"jan1 E<lt> jan10\n" |
| 382 |
msgstr "" |
| 383 |
"$ B<./a.out jan1 jan10>\n" |
| 384 |
"jan1 E<lt> jan10\n" |
| 385 |
|
| 386 |
#. type: SS |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "Program source" |
| 391 |
msgstr "Source du programme" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, fuzzy, no-wrap |
| 397 |
#| msgid "" |
| 398 |
#| "#define _GNU_SOURCE\n" |
| 399 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 400 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 401 |
#| "#include E<lt>string.hE<gt>\n" |
| 402 |
#| "\\&\n" |
| 403 |
#| "int\n" |
| 404 |
#| "main(int argc, char *argv[])\n" |
| 405 |
#| "{\n" |
| 406 |
#| " int res;\n" |
| 407 |
#| "\\&\n" |
| 408 |
#| " if (argc != 3) {\n" |
| 409 |
#| " fprintf(stderr, \"Usage: %s E<lt>string1E<gt> E<lt>string2E<gt>\\en\", argv[0]);\n" |
| 410 |
#| " exit(EXIT_FAILURE);\n" |
| 411 |
#| " }\n" |
| 412 |
#| "\\&\n" |
| 413 |
#| " res = strverscmp(argv[1], argv[2]);\n" |
| 414 |
#| "\\&\n" |
| 415 |
#| " printf(\"%s %s %s\\en\", argv[1],\n" |
| 416 |
#| " (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n" |
| 417 |
#| "\\&\n" |
| 418 |
#| " exit(EXIT_SUCCESS);\n" |
| 419 |
#| "}\n" |
| 420 |
msgid "" |
| 421 |
"#define _GNU_SOURCE\n" |
| 422 |
"#include E<lt>stdio.hE<gt>\n" |
| 423 |
"#include E<lt>stdlib.hE<gt>\n" |
| 424 |
"#include E<lt>string.hE<gt>\n" |
| 425 |
"\\&\n" |
| 426 |
"int\n" |
| 427 |
"main(int argc, char *argv[])\n" |
| 428 |
"{\n" |
| 429 |
" int res;\n" |
| 430 |
"\\&\n" |
| 431 |
" if (argc != 3) {\n" |
| 432 |
" fprintf(stderr, \"Usage: %s E<lt>string1E<gt> E<lt>string2E<gt>\\[rs]n\", argv[0]);\n" |
| 433 |
" exit(EXIT_FAILURE);\n" |
| 434 |
" }\n" |
| 435 |
"\\&\n" |
| 436 |
" res = strverscmp(argv[1], argv[2]);\n" |
| 437 |
"\\&\n" |
| 438 |
" printf(\"%s %s %s\\[rs]n\", argv[1],\n" |
| 439 |
" (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n" |
| 440 |
"\\&\n" |
| 441 |
" exit(EXIT_SUCCESS);\n" |
| 442 |
"}\n" |
| 443 |
msgstr "" |
| 444 |
"#define _GNU_SOURCE\n" |
| 445 |
"#include E<lt>stdio.hE<gt>\n" |
| 446 |
"#include E<lt>stdlib.hE<gt>\n" |
| 447 |
"#include E<lt>string.hE<gt>\n" |
| 448 |
"\\&\n" |
| 449 |
"int\n" |
| 450 |
"main(int argc, char *argv[])\n" |
| 451 |
"{\n" |
| 452 |
" int res;\n" |
| 453 |
"\\&\n" |
| 454 |
" if (argc != 3) {\n" |
| 455 |
" fprintf(stderr, \"Utilisation : %s E<lt>string1E<gt> E<lt>string2E<gt>\\en\", argv[0]);\n" |
| 456 |
" exit(EXIT_FAILURE);\n" |
| 457 |
" }\n" |
| 458 |
"\\&\n" |
| 459 |
" res = strverscmp(argv[1], argv[2]);\n" |
| 460 |
"\\&\n" |
| 461 |
" printf(\"%s %s %s\\en\", argv[1],\n" |
| 462 |
" (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n" |
| 463 |
"\\&\n" |
| 464 |
" exit(EXIT_SUCCESS);\n" |
| 465 |
"}\n" |
| 466 |
|
| 467 |
#. SRC END |
| 468 |
#. type: SH |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
#, no-wrap |
| 472 |
msgid "SEE ALSO" |
| 473 |
msgstr "VOIR AUSSI" |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)" |
| 479 |
msgstr "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)" |
| 480 |
|
| 481 |
#. type: TH |
| 482 |
#: debian-trixie |
| 483 |
#, no-wrap |
| 484 |
msgid "2024-06-15" |
| 485 |
msgstr "15 juin 2024" |
| 486 |
|
| 487 |
#. type: TH |
| 488 |
#: debian-trixie |
| 489 |
#, no-wrap |
| 490 |
msgid "Linux man-pages 6.9.1" |
| 491 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 492 |
|
| 493 |
#. type: Plain text |
| 494 |
#: debian-trixie |
| 495 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 496 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 497 |
|
| 498 |
#. classical solution: "rename jan jan0 jan?" |
| 499 |
#. type: Plain text |
| 500 |
#: debian-trixie |
| 501 |
msgid "" |
| 502 |
"Often one has files I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... and it " |
| 503 |
"feels wrong when B<ls>(1) orders them I<jan1>, I<jan10>, ..., I<jan2>, ..., " |
| 504 |
"I<jan9>. In order to rectify this, GNU introduced the I<-v> option to " |
| 505 |
"B<ls>(1), which is implemented using B<versionsort>(3), which again uses " |
| 506 |
"B<strverscmp>()." |
| 507 |
msgstr "" |
| 508 |
"On a souvent des fichiers I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... et " |
| 509 |
"il est malvenu que B<ls>(1) les classe dans l'ordre I<jan1>, I<jan10>, ..., " |
| 510 |
"I<jan2>, ..., I<jan9>. Afin de remédier à cela, GNU a introduit l'option B<-" |
| 511 |
"v> à B<ls>(1), option implémentée en utilisant B<versionsort>(3), qui " |
| 512 |
"utilise lui-même B<strverscmp>()." |
| 513 |
|
| 514 |
#. type: Plain text |
| 515 |
#: debian-trixie |
| 516 |
msgid "" |
| 517 |
"Thus, the task of B<strverscmp>() is to compare two strings and find the " |
| 518 |
"\"right\" order, while B<strcmp>(3) finds only the lexicographic order. " |
| 519 |
"This function does not use the locale category B<LC_COLLATE>, so is meant " |
| 520 |
"mostly for situations where the strings are expected to be in ASCII." |
| 521 |
msgstr "" |
| 522 |
"Ainsi, la tâche de B<strverscmp>() consiste à comparer deux chaînes et à " |
| 523 |
"déterminer le «\\ bon\\ » ordre, alors que B<strcmp>(3) détermine seulement " |
| 524 |
"l'ordre lexicographique. Cette fonction n'utilise pas la catégorie de " |
| 525 |
"localisation B<LC_COLLATE>, elle vise donc principalement les situations " |
| 526 |
"dans lesquelles les chaînes sont supposées être en ASCII." |
| 527 |
|
| 528 |
#. type: Plain text |
| 529 |
#: debian-trixie fedora-44 fedora-rawhide |
| 530 |
#, no-wrap |
| 531 |
msgid "" |
| 532 |
"$ B<./a.out jan1 jan10>\n" |
| 533 |
"jan1 E<lt> jan10\n" |
| 534 |
msgstr "" |
| 535 |
"$ B<./a.out jan1 jan10>\n" |
| 536 |
"jan1 E<lt> jan10\n" |
| 537 |
|
| 538 |
#. type: TH |
| 539 |
#: fedora-44 fedora-rawhide |
| 540 |
#, no-wrap |
| 541 |
msgid "2024-12-16" |
| 542 |
msgstr "16 décembre 2024" |
| 543 |
|
| 544 |
#. type: TH |
| 545 |
#: fedora-44 fedora-rawhide |
| 546 |
#, no-wrap |
| 547 |
msgid "Linux man-pages 6.13" |
| 548 |
msgstr "Pages du manuel de Linux 6.13" |
| 549 |
|
| 550 |
#. type: TH |
| 551 |
#: mageia-cauldron |
| 552 |
#, no-wrap |
| 553 |
msgid "Linux man-pages 6.17" |
| 554 |
msgstr "Pages du manuel de Linux 6.17" |
| 555 |
|
| 556 |
#. type: TH |
| 557 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "Linux man-pages (unreleased)" |
| 560 |
msgstr "Pages du manuel de Linux (non publiées)" |