| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2023, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.20.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 9 |
"PO-Revision-Date: 2025-06-04 08:25+0200\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "strverscmp" |
| 25 |
msgstr "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 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "strverscmp - compare two version strings" |
| 51 |
msgstr "strverscmp - compară două șiruri de versiuni" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 79 |
"B<#include E<lt>string.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
"B<#define _GNU_SOURCE> /* Consultați feature_test_macros(7) */\n" |
| 82 |
"B<#include E<lt>string.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n" |
| 89 |
msgstr "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n" |
| 90 |
|
| 91 |
#. type: SH |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "DESCRIPTION" |
| 96 |
msgstr "DESCRIERE" |
| 97 |
|
| 98 |
#. classical solution: "rename jan jan0 jan?" |
| 99 |
#. sort -V sorts a-1.0a < a-1.0.1a; strverscmp() does not |
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 102 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "" |
| 104 |
"For a dataset like I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... sorting it " |
| 105 |
"lexicographically yields I<jan1>, I<jan10>, ..., I<jan2>, ..., I<jan9>. The " |
| 106 |
"task of B<strverscmp>() is to compare two strings yielding the former " |
| 107 |
"order, while B<strcmp>(3) finds only the lexicographic order. This " |
| 108 |
"function does not use the locale category B<LC_COLLATE>, so is meant mostly " |
| 109 |
"for situations where the strings are expected to be in ASCII. This is " |
| 110 |
"different from the ordering produced by B<sort>(1) B<-V>." |
| 111 |
msgstr "" |
| 112 |
"Pentru un set de date precum I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ..., " |
| 113 |
"sortarea lexicografică dă I<jan1>, I<jan10>, ..., I<jan2>, ..., I<jan9>. " |
| 114 |
"Sarcina funcției B<strverscmp>() este de a compara două șiruri de caractere, " |
| 115 |
"obținând prima ordine, în timp ce B<strcmp>(3) găsește doar ordinea " |
| 116 |
"lexicografică. Această funcție nu utilizează categoria B<LC_COLLATE> a " |
| 117 |
"configurației regionale, deci este destinată mai ales situațiilor în care se " |
| 118 |
"așteaptă ca șirurile să fie în ASCII. Aceasta este diferită de ordinea " |
| 119 |
"produsă de B<sort>(1) B<-V>." |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"What this function does is the following. If both strings are equal, return " |
| 126 |
"0. Otherwise, find the position between two bytes with the property that " |
| 127 |
"before it both strings are equal, while directly after it there is a " |
| 128 |
"difference. Find the largest consecutive digit strings containing (or " |
| 129 |
"starting at, or ending at) this position. If one or both of these is empty, " |
| 130 |
"then return what B<strcmp>(3) would have returned (numerical ordering of " |
| 131 |
"byte values). Otherwise, compare both digit strings numerically, where " |
| 132 |
"digit strings with one or more leading zeros are interpreted as if they have " |
| 133 |
"a decimal point in front (so that in particular digit strings with more " |
| 134 |
"leading zeros come before digit strings with fewer leading zeros). Thus, " |
| 135 |
"the ordering is I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>." |
| 136 |
msgstr "" |
| 137 |
"Această funcție face următoarele. Dacă ambele șiruri de caractere sunt " |
| 138 |
"egale, se returnează 0. În caz contrar, găsește poziția dintre doi octeți " |
| 139 |
"care are proprietatea că înainte de ea ambele șiruri sunt egale, în timp ce " |
| 140 |
"imediat după ea există o diferență. Găsește cele mai mari șiruri de cifre " |
| 141 |
"consecutive care conțin (sau care încep sau se termină la) această poziție. " |
| 142 |
"Dacă una sau ambele sunt goale, atunci se returnează ceea ce ar fi returnat " |
| 143 |
"B<strcmp>(3) (ordonarea numerică a valorilor octeților). În caz contrar, se " |
| 144 |
"compară ambele șiruri de cifre din punct de vedere numeric, unde șirurile de " |
| 145 |
"cifre cu unul sau mai multe zerouri de început sunt interpretate ca și cum " |
| 146 |
"ar avea o virgulă în față (astfel încât, în special, șirurile de cifre cu " |
| 147 |
"mai multe zerouri de început vin înaintea șirurilor de cifre cu mai puține " |
| 148 |
"zerouri de început). Astfel, ordinea este I<000>, I<00>, I<01>, I<010>, " |
| 149 |
"I<09>, I<0>, I<1>, I<9>, I<10>." |
| 150 |
|
| 151 |
#. type: SH |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "RETURN VALUE" |
| 156 |
msgstr "VALOAREA RETURNATĂ" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"The B<strverscmp>() function returns an integer less than, equal to, or " |
| 163 |
"greater than zero if I<s1> is found, respectively, to be earlier than, equal " |
| 164 |
"to, or later than I<s2>." |
| 165 |
msgstr "" |
| 166 |
"Funcția B<strverscmp>() returnează un număr întreg mai mic, egal sau mai " |
| 167 |
"mare decât zero dacă se constată că I<s1> este mai înainte, egal sau " |
| 168 |
"ulterior lui I<s2>." |
| 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 "ATTRIBUTES" |
| 175 |
msgstr "ATRIBUTE" |
| 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 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 182 |
msgstr "" |
| 183 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 184 |
"B<attributes>(7)." |
| 185 |
|
| 186 |
#. type: tbl table |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "Interface" |
| 191 |
msgstr "Interfață" |
| 192 |
|
| 193 |
#. type: tbl table |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
#, no-wrap |
| 197 |
msgid "Attribute" |
| 198 |
msgstr "Atribut" |
| 199 |
|
| 200 |
#. type: tbl table |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
#, no-wrap |
| 204 |
msgid "Value" |
| 205 |
msgstr "Valoare" |
| 206 |
|
| 207 |
#. type: tbl table |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid ".na\n" |
| 212 |
msgstr ".na\n" |
| 213 |
|
| 214 |
#. type: tbl table |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid ".nh\n" |
| 219 |
msgstr ".nh\n" |
| 220 |
|
| 221 |
#. type: tbl table |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "B<strverscmp>()" |
| 226 |
msgstr "B<strverscmp>()" |
| 227 |
|
| 228 |
#. type: tbl table |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
#, no-wrap |
| 232 |
msgid "Thread safety" |
| 233 |
msgstr "Siguranța firelor" |
| 234 |
|
| 235 |
#. type: tbl table |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "MT-Safe" |
| 240 |
msgstr "MT-Safe" |
| 241 |
|
| 242 |
#. #-#-#-#-# archlinux: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 243 |
#. FIXME: The marking is different from that in the glibc manual, |
| 244 |
#. which has: |
| 245 |
#. strverscmp: MT-Safe locale |
| 246 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 247 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 248 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 249 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 250 |
#. problem. |
| 251 |
#. type: SH |
| 252 |
#. #-#-#-#-# debian-trixie: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 253 |
#. FIXME: The marking is different from that in the glibc manual, |
| 254 |
#. which has: |
| 255 |
#. strverscmp: MT-Safe locale |
| 256 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 257 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 258 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 259 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 260 |
#. problem. |
| 261 |
#. type: SH |
| 262 |
#. #-#-#-#-# debian-unstable: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 263 |
#. FIXME: The marking is different from that in the glibc manual, |
| 264 |
#. which has: |
| 265 |
#. strverscmp: MT-Safe locale |
| 266 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 267 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 268 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 269 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 270 |
#. problem. |
| 271 |
#. type: SH |
| 272 |
#. #-#-#-#-# fedora-44: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 273 |
#. FIXME: The marking is different from that in the glibc manual, |
| 274 |
#. which has: |
| 275 |
#. strverscmp: MT-Safe locale |
| 276 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 277 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 278 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 279 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 280 |
#. problem. |
| 281 |
#. type: SH |
| 282 |
#. #-#-#-#-# fedora-rawhide: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 283 |
#. FIXME: The marking is different from that in the glibc manual, |
| 284 |
#. which has: |
| 285 |
#. strverscmp: MT-Safe locale |
| 286 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 287 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 288 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 289 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 290 |
#. problem. |
| 291 |
#. type: SH |
| 292 |
#. #-#-#-#-# mageia-cauldron: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 293 |
#. FIXME: The marking is different from that in the glibc manual, |
| 294 |
#. which has: |
| 295 |
#. strverscmp: MT-Safe locale |
| 296 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 297 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 298 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 299 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 300 |
#. problem. |
| 301 |
#. type: SH |
| 302 |
#. #-#-#-#-# opensuse-leap-16-1: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 303 |
#. FIXME: The marking is different from that in the glibc manual, |
| 304 |
#. which has: |
| 305 |
#. strverscmp: MT-Safe locale |
| 306 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 307 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 308 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 309 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 310 |
#. problem. |
| 311 |
#. type: SH |
| 312 |
#. #-#-#-#-# opensuse-tumbleweed: strverscmp.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 313 |
#. FIXME: The marking is different from that in the glibc manual, |
| 314 |
#. which has: |
| 315 |
#. strverscmp: MT-Safe locale |
| 316 |
#. glibc manual says strverscmp should have marking locale because it calls |
| 317 |
#. isdigit() multiple times and isdigit() uses locale variable. |
| 318 |
#. But isdigit() has two implementations. With different compiling conditions, |
| 319 |
#. we may call isdigit() in macro, then strverscmp() should not have locale |
| 320 |
#. problem. |
| 321 |
#. type: SH |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
#, no-wrap |
| 325 |
msgid "STANDARDS" |
| 326 |
msgstr "STANDARDE" |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
msgid "GNU." |
| 332 |
msgstr "GNU." |
| 333 |
|
| 334 |
#. type: SH |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "EXAMPLES" |
| 339 |
msgstr "EXEMPLE" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
msgid "" |
| 345 |
"The program below can be used to demonstrate the behavior of " |
| 346 |
"B<strverscmp>(). It uses B<strverscmp>() to compare the two strings given " |
| 347 |
"as its command-line arguments. An example of its use is the following:" |
| 348 |
msgstr "" |
| 349 |
"Programul de mai jos poate fi utilizat pentru a demonstra comportamentul lui " |
| 350 |
"B<strverscmp>(). Acesta utilizează B<strverscmp>() pentru a compara cele " |
| 351 |
"două șiruri de caractere date ca argumente în linia de comandă. Un exemplu " |
| 352 |
"de utilizare a acestuia este următorul:" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 356 |
#: opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "" |
| 359 |
"$B< ./a.out jan1 jan10>;\n" |
| 360 |
"jan1 E<lt> jan10\n" |
| 361 |
msgstr "" |
| 362 |
"$B< ./a.out jan1 jan10>;\n" |
| 363 |
"jan1 E<lt> jan10\n" |
| 364 |
|
| 365 |
#. type: SS |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "Program source" |
| 370 |
msgstr "Sursa programului" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, no-wrap |
| 376 |
msgid "" |
| 377 |
"#define _GNU_SOURCE\n" |
| 378 |
"#include E<lt>stdio.hE<gt>\n" |
| 379 |
"#include E<lt>stdlib.hE<gt>\n" |
| 380 |
"#include E<lt>string.hE<gt>\n" |
| 381 |
"\\&\n" |
| 382 |
"int\n" |
| 383 |
"main(int argc, char *argv[])\n" |
| 384 |
"{\n" |
| 385 |
" int res;\n" |
| 386 |
"\\&\n" |
| 387 |
" if (argc != 3) {\n" |
| 388 |
" fprintf(stderr, \"Usage: %s E<lt>string1E<gt> E<lt>string2E<gt>\\[rs]n\", argv[0]);\n" |
| 389 |
" exit(EXIT_FAILURE);\n" |
| 390 |
" }\n" |
| 391 |
"\\&\n" |
| 392 |
" res = strverscmp(argv[1], argv[2]);\n" |
| 393 |
"\\&\n" |
| 394 |
" printf(\"%s %s %s\\[rs]n\", argv[1],\n" |
| 395 |
" (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n" |
| 396 |
"\\&\n" |
| 397 |
" exit(EXIT_SUCCESS);\n" |
| 398 |
"}\n" |
| 399 |
msgstr "" |
| 400 |
"#define _GNU_SOURCE\n" |
| 401 |
"#include E<lt>stdio.hE<gt>\n" |
| 402 |
"#include E<lt>stdlib.hE<gt>\n" |
| 403 |
"#include E<lt>string.hE<gt>\n" |
| 404 |
"\\&\n" |
| 405 |
"int\n" |
| 406 |
"main(int argc, char *argv[])\n" |
| 407 |
"{\n" |
| 408 |
" int res;\n" |
| 409 |
"\\&\n" |
| 410 |
" if (argc != 3) {\n" |
| 411 |
" fprintf(stderr, \"Utilizare: %s E<lt>string1E<gt> E<lt>string2E<gt>\\[rs]n\", argv[0]);\n" |
| 412 |
" exit(EXIT_FAILURE);\n" |
| 413 |
" }\n" |
| 414 |
"\\&\n" |
| 415 |
" res = strverscmp(argv[1], argv[2]);\n" |
| 416 |
"\\&\n" |
| 417 |
" printf(\"%s %s %s\\[rs]n\", argv[1],\n" |
| 418 |
" (res E<lt> 0) ? \"E<lt>\" : (res == 0) ? \"==\" : \"E<gt>\", argv[2]);\n" |
| 419 |
"\\&\n" |
| 420 |
" exit(EXIT_SUCCESS);\n" |
| 421 |
"}\n" |
| 422 |
|
| 423 |
#. SRC END |
| 424 |
#. type: SH |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
#, no-wrap |
| 428 |
msgid "SEE ALSO" |
| 429 |
msgstr "CONSULTAȚI ȘI" |
| 430 |
|
| 431 |
#. type: Plain text |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)" |
| 435 |
msgstr "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)" |
| 436 |
|
| 437 |
#. type: TH |
| 438 |
#: debian-trixie |
| 439 |
#, no-wrap |
| 440 |
msgid "2024-06-15" |
| 441 |
msgstr "15 iunie 2024" |
| 442 |
|
| 443 |
#. type: TH |
| 444 |
#: debian-trixie |
| 445 |
#, no-wrap |
| 446 |
msgid "Linux man-pages 6.9.1" |
| 447 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: debian-trixie |
| 451 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 452 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 453 |
|
| 454 |
#. classical solution: "rename jan jan0 jan?" |
| 455 |
#. type: Plain text |
| 456 |
#: debian-trixie |
| 457 |
msgid "" |
| 458 |
"Often one has files I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... and it " |
| 459 |
"feels wrong when B<ls>(1) orders them I<jan1>, I<jan10>, ..., I<jan2>, ..., " |
| 460 |
"I<jan9>. In order to rectify this, GNU introduced the I<-v> option to " |
| 461 |
"B<ls>(1), which is implemented using B<versionsort>(3), which again uses " |
| 462 |
"B<strverscmp>()." |
| 463 |
msgstr "" |
| 464 |
"Adesea se dețin fișiere I<ian1>, I<ian2>, ..., I<ian9>, I<ian10>, ... și vi " |
| 465 |
"se pare ciudat când B<ls>(1) le ordonează I<ian1>, I<ian10>, ..., " |
| 466 |
"I<ian2>, ..., I<ian9>. Pentru a corecta acest lucru, GNU a introdus opțiunea " |
| 467 |
"I<-v> în B<ls>(1), care este implementată cu ajutorul B<versionsort>(3), " |
| 468 |
"care folosește din nou B<strverscmp>()." |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: debian-trixie |
| 472 |
msgid "" |
| 473 |
"Thus, the task of B<strverscmp>() is to compare two strings and find the " |
| 474 |
"\"right\" order, while B<strcmp>(3) finds only the lexicographic order. " |
| 475 |
"This function does not use the locale category B<LC_COLLATE>, so is meant " |
| 476 |
"mostly for situations where the strings are expected to be in ASCII." |
| 477 |
msgstr "" |
| 478 |
"Astfel, sarcina lui B<strverscmp>() este de a compara două șiruri și de a " |
| 479 |
"găsi ordinea „corectă”, în timp ce B<strcmp>(3) găsește doar ordinea " |
| 480 |
"lexicografică. Această funcție nu utilizează categoria B<LC_COLLATE> a " |
| 481 |
"configurației regionale, deci este destinată mai ales situațiilor în care se " |
| 482 |
"așteaptă ca șirurile de caractere să fie în ASCII." |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: debian-trixie fedora-44 fedora-rawhide |
| 486 |
#, no-wrap |
| 487 |
msgid "" |
| 488 |
"$ B<./a.out jan1 jan10>\n" |
| 489 |
"jan1 E<lt> jan10\n" |
| 490 |
msgstr "" |
| 491 |
"$ B<./a.out ian1 ian10>\n" |
| 492 |
"ian1 E<lt> ian10\n" |
| 493 |
|
| 494 |
#. type: TH |
| 495 |
#: fedora-44 fedora-rawhide |
| 496 |
#, no-wrap |
| 497 |
msgid "2024-12-16" |
| 498 |
msgstr "16 decembrie 2024" |
| 499 |
|
| 500 |
#. type: TH |
| 501 |
#: fedora-44 fedora-rawhide |
| 502 |
#, no-wrap |
| 503 |
msgid "Linux man-pages 6.13" |
| 504 |
msgstr "Pagini de manual de Linux 6.13" |
| 505 |
|
| 506 |
#. type: TH |
| 507 |
#: mageia-cauldron |
| 508 |
#, no-wrap |
| 509 |
msgid "Linux man-pages 6.17" |
| 510 |
msgstr "Pagini de manual de Linux 6.17" |
| 511 |
|
| 512 |
#. type: TH |
| 513 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid "Linux man-pages (unreleased)" |
| 516 |
msgstr "Pagini de manual Linux (nepublicate)" |