Debian Codegraph @

po/ro/man7/rpm-lua.7.po

raw
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]>, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.27.0\n"
8 "POT-Creation-Date: 2026-05-01 04:44+0200\n"
9 "PO-Revision-Date: 2026-01-13 09:53+0100\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.6\n"
19
20 #. type: TH
21 #: archlinux debian-unstable fedora-44 fedora-rawhide
22 #, no-wrap
23 msgid "RPM-LUA"
24 msgstr "RPM-LUA"
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "2026-03-06"
30 msgstr "6 martie 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable fedora-44 fedora-rawhide
34 #, no-wrap
35 msgid "RPM 6.0.1"
36 msgstr "RPM 6.0.1"
37
38 #. type: SH
39 #: archlinux debian-unstable fedora-44 fedora-rawhide
40 #, no-wrap
41 msgid "NAME"
42 msgstr "NUME"
43
44 #. type: Plain text
45 #: archlinux debian-unstable fedora-44 fedora-rawhide
46 msgid "rpm-lua - RPM embedded Lua interpreter"
47 msgstr "rpm-lua - interpretul intern Lua al RPM"
48
49 #. type: SH
50 #: archlinux debian-unstable fedora-44 fedora-rawhide
51 #, no-wrap
52 msgid "SYNOPSIS"
53 msgstr "SINOPSIS"
54
55 #. type: Plain text
56 #: archlinux debian-unstable fedora-44 fedora-rawhide
57 msgid "%scriptlet -p E<lt>luaE<gt>"
58 msgstr "%scriptlet -p E<lt>luaE<gt>"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide
62 msgid "%{lua:.\\&.\\&.\\&}"
63 msgstr "%{lua:.\\&.\\&.\\&}"
64
65 #. type: SH
66 #: archlinux debian-unstable fedora-44 fedora-rawhide
67 #, no-wrap
68 msgid "DESCRIPTION"
69 msgstr "DESCRIERE"
70
71 #. type: Plain text
72 #: archlinux debian-unstable fedora-44 fedora-rawhide
73 msgid ""
74 "Lua is a general purpose programming language specifically designed for "
75 "embedding in other programs, and RPM includes an embedded Lua interpreter "
76 "for use in advanced B<rpm-macros>(7) and transaction scriptlets.\\&"
77 msgstr ""
78 "Lua este un limbaj de programare cu scop general, conceput special pentru a "
79 "fi încorporat în alte programe, iar RPM include un interpret Lua încorporat "
80 "pentru utilizare în B<rpm-macros>(7) avansate și scripturi de tranzacții.\\&"
81
82 #. type: Plain text
83 #: archlinux debian-unstable fedora-44 fedora-rawhide
84 msgid ""
85 "The embedded Lua interpreter makes possible various things that are hard or "
86 "impossible with plain macros or external shell scripts, such as help "
87 "eliminate dependency loops from package scriptlets.\\&"
88 msgstr ""
89 "Interpretorul Lua încorporat face posibile diverse lucruri care sunt "
90 "dificile sau imposibile cu macrocomenzi simple sau scripturi shell externe, "
91 "cum ar fi eliminarea buclelor de dependență din scriptlet-urile pachetelor."
92 "\\&"
93
94 #. type: SH
95 #: archlinux debian-unstable fedora-44 fedora-rawhide
96 #, no-wrap
97 msgid "MACROS"
98 msgstr "MACROCOMENZI"
99
100 #. type: SS
101 #: archlinux debian-unstable fedora-44 fedora-rawhide
102 #, no-wrap
103 msgid "Accessing macros"
104 msgstr "Accesarea macrocomenzilor"
105
106 #. type: Plain text
107 #: archlinux debian-unstable fedora-44 fedora-rawhide
108 msgid ""
109 "The B<rpm> extension has various functions for dealing with macros, but the "
110 "most convenient way to access B<rpm-macroproc>(7) from the RPM Lua "
111 "environment is via the global B<macros> table.\\&"
112 msgstr ""
113 "Extensia B<rpm> are diverse funcții pentru gestionarea macrocomenzilor, dar "
114 "cea mai convenabilă modalitate de a accesa B<rpm-macroproc>(7) din mediul "
115 "RPM Lua este prin intermediul tabelului global B<macros>.\\&"
116
117 #. type: Plain text
118 #: archlinux debian-unstable fedora-44 fedora-rawhide
119 msgid ""
120 "Lua makes no difference between table index and field name syntaxes so "
121 "B<macros.\\&foo> and B<macros['\\&foo'\\&]> are equivalent, use what better "
122 "suits the purpose.\\&"
123 msgstr ""
124 "Lua nu face diferență între sintaxele indexului tabelului și ale numelui "
125 "câmpului, astfel încât B<macros.\\&foo> și B<macros['\\&foo'\\&]> sunt "
126 "echivalente. Utilizați cea care se potrivește mai bine scopului.\\&"
127
128 #. type: Plain text
129 #: archlinux debian-unstable fedora-44 fedora-rawhide
130 msgid ""
131 "Like any real Lua table, non-existent items are returned as B<nil>, and "
132 "assignment can be used to define or undefine macros.\\&"
133 msgstr ""
134 "Ca orice tabel Lua real, elementele inexistente sunt returnate ca B<nil>, "
135 "iar atribuirea poate fi utilizată pentru a defini sau a anula definiția "
136 "macrocomenzilor.\\&"
137
138 #. type: Plain text
139 #: archlinux debian-unstable fedora-44 fedora-rawhide
140 msgid "Example:"
141 msgstr "Exemplu:"
142
143 #. type: Plain text
144 #: archlinux debian-unstable fedora-44 fedora-rawhide
145 #, no-wrap
146 msgid ""
147 "if not macros\\&.yours then\n"
148 " macros\\&.my = \\&'my macro\\&'\n"
149 "end\n"
150 msgstr ""
151 "if not macros\\&.yours then\n"
152 " macros\\&.my = \\&'my macro\\&'\n"
153 "end\n"
154
155 #. type: Plain text
156 #: archlinux debian-unstable fedora-44 fedora-rawhide
157 #, no-wrap
158 msgid ""
159 "local v = { \\&'_libdir\\&', \\&'_bindir\\&', \\&'_xbindir\\&' }\n"
160 "for _, v in ipairs(v) do\n"
161 " if not macros[v] then\n"
162 " macros[v] = \\&'default\\&'\n"
163 " end\n"
164 "end\n"
165 msgstr ""
166 "local v = { \\&'_libdir\\&', \\&'_bindir\\&', \\&'_xbindir\\&' }\n"
167 "for _, v in ipairs(v) do\n"
168 " if not macros[v] then\n"
169 " macros[v] = \\&'default\\&'\n"
170 " end\n"
171 "end\n"
172
173 #. type: Plain text
174 #: archlinux debian-unstable fedora-44 fedora-rawhide
175 msgid "All macros share the same global Lua execution environment.\\&"
176 msgstr ""
177 "Toate macrocomenzile împărtășesc același mediu global de execuție Lua.\\&"
178
179 #. type: SS
180 #: archlinux debian-unstable fedora-44 fedora-rawhide
181 #, no-wrap
182 msgid "Calling parametric macros"
183 msgstr "Apelarea macrocomenzilor parametrice"
184
185 #. type: Plain text
186 #: archlinux debian-unstable fedora-44 fedora-rawhide
187 msgid ""
188 "Parametric macros (including all built-in macros) can be called in a Lua "
189 "native manner via the B<macros> table, with either B<macros.\\&>I<name>B<()> "
190 "or B<macros[>I<name>B<]()> syntax.\\&"
191 msgstr ""
192 "Macrocomenzile parametrice (inclusiv toate macrocomenzile încorporate) pot "
193 "fi apelate într-un mod nativ Lua prin intermediul tabelului B<macros>, "
194 "folosind sintaxa B<macros.\\&>I<nume>B<()> sau B<macros[>I<nume>B<]()>.\\&"
195
196 #. type: Plain text
197 #: archlinux debian-unstable fedora-44 fedora-rawhide
198 msgid "Arguments are passed through a single argument, which is either"
199 msgstr "Argumentele sunt pasate printr-un singur argument, care este fie"
200
201 #. type: IP
202 #: archlinux debian-unstable fedora-44 fedora-rawhide
203 #, no-wrap
204 msgid "\\(bu"
205 msgstr "\\(bu"
206
207 #. type: Plain text
208 #: archlinux debian-unstable fedora-44 fedora-rawhide
209 msgid ""
210 "a single string, in which case it'\\&s expanded and split with the macro-"
211 "native rules"
212 msgstr ""
213 "un singur șir, caz în care este extins și împărțit cu regulile native ale "
214 "macrocomenzii"
215
216 #. type: Plain text
217 #: archlinux debian-unstable fedora-44 fedora-rawhide
218 msgid ""
219 "a table, in which case the table contents are used as literal arguments that "
220 "are not expanded in any way"
221 msgstr ""
222 "fie un tabel, caz în care conținutul tabelului este utilizat ca argumente "
223 "literale care nu sunt extinse în niciun fel."
224
225 #. type: Plain text
226 #: archlinux debian-unstable fedora-44 fedora-rawhide
227 msgid "Example 1:"
228 msgstr "Exemplul 1:"
229
230 #. type: Plain text
231 #: archlinux debian-unstable fedora-44 fedora-rawhide
232 #, no-wrap
233 msgid "macros\\&.with(\\&'foo\\&')\n"
234 msgstr "macros\\&.with(\\&'foo\\&')\n"
235
236 #. type: Plain text
237 #: archlinux debian-unstable fedora-44 fedora-rawhide
238 msgid "Example 2:"
239 msgstr "Exemplul 2:"
240
241 #. type: Plain text
242 #: archlinux debian-unstable fedora-44 fedora-rawhide
243 #, no-wrap
244 msgid "macros\\&.dostuff({\\&'one\\&', \\&'two\\&', \\&'three\\&'})\n"
245 msgstr "macros\\&.dostuff({\\&'one\\&', \\&'two\\&', \\&'three\\&'})\n"
246
247 #. type: SS
248 #: archlinux debian-unstable fedora-44 fedora-rawhide
249 #, no-wrap
250 msgid "Returning data"
251 msgstr "Returnarea datelor"
252
253 #. type: Plain text
254 #: archlinux debian-unstable fedora-44 fedora-rawhide
255 msgid ""
256 "By definition, anything B<print()>'\\&ed in Lua will end up in the macro "
257 "expansion.\\& Lua macros can also B<return> their output, which makes "
258 "programming helper macros look more natural.\\&"
259 msgstr ""
260 "Prin definiție, orice B<print()>'\\&ed în Lua va ajunge în expansiunea "
261 "macrocomenzii.\\& Macrocomenzile Lua pot, de asemenea, B<return> (să "
262 "returneze) rezultatul, ceea ce face ca macrocomenzile de ajutor pentru "
263 "programare să pară mai naturale.\\&"
264
265 #. type: Plain text
266 #: archlinux debian-unstable fedora-44 fedora-rawhide
267 #, no-wrap
268 msgid ""
269 "%sum() %{lua:\n"
270 " local v = 0\n"
271 " for _, a in ipairs(arg) do\n"
272 " v = v + tonumber(a)\n"
273 " end\n"
274 " return v\n"
275 "}\n"
276 msgstr ""
277 "%sum() %{lua:\n"
278 " local v = 0\n"
279 " for _, a in ipairs(arg) do\n"
280 " v = v + tonumber(a)\n"
281 " end\n"
282 " return v\n"
283 "}\n"
284
285 #. type: SS
286 #: archlinux debian-unstable fedora-44 fedora-rawhide
287 #, no-wrap
288 msgid "Options and arguments"
289 msgstr "Opțiuni și argumente"
290
291 #. type: Plain text
292 #: archlinux debian-unstable fedora-44 fedora-rawhide
293 msgid ""
294 "Parametric Lua macros receive their options and arguments as two local "
295 "tables B<opt> and B<arg>, where B<opt> holds processed option values keyed "
296 "by the option character, and B<arg> contains arguments numerically indexed."
297 "\\&"
298 msgstr ""
299 "Macrocomenzile parametrice Lua primesc opțiunile și argumentele lor sub "
300 "forma a două tabele locale B<opt> și B<arg>, unde B<opt> conține valorile "
301 "opțiunilor procesate, indexate după caracterul opțiunii, iar B<arg> conține "
302 "argumentele indexate numeric.\\&"
303
304 #. type: Plain text
305 #: archlinux debian-unstable fedora-44 fedora-rawhide
306 msgid ""
307 "These tables are always present regardless of whether options or arguments "
308 "were actually passed to simplify use.\\&"
309 msgstr ""
310 "Aceste tabele sunt întotdeauna prezente, indiferent dacă opțiunile sau "
311 "argumentele au fost efectiv pasate pentru a simplifica utilizarea.\\&"
312
313 #. type: Plain text
314 #: archlinux debian-unstable fedora-44 fedora-rawhide
315 #, no-wrap
316 msgid ""
317 "%foo(a:b) %{lua:\n"
318 "if opt\\&.b then\n"
319 " print(\\&'do b\\&')\n"
320 "else\n"
321 " print(\\&'or not\\&')\n"
322 "end\n"
323 "if opt\\&.a == \\&'s\\&' then\n"
324 " print(\\&'do s\\&')\n"
325 "end\n"
326 "if #arg == 0 then\n"
327 " print(\\&'no arguments :(\\&')\n"
328 "else\n"
329 " for i = 1, #arg do\n"
330 " print(arg[i])\n"
331 " end\n"
332 "end\n"
333 "}\n"
334 msgstr ""
335 "%foo(a:b) %{lua:\n"
336 "if opt\\&.b then\n"
337 " print(\\&'fă b\\&')\n"
338 "else\n"
339 " print(\\&'sau nu\\&')\n"
340 "end\n"
341 "if opt\\&.a == \\&'s\\&' then\n"
342 " print(\\&'fă s\\&')\n"
343 "end\n"
344 "if #arg == 0 then\n"
345 " print(\\&'fără argumente :(\\&')\n"
346 "else\n"
347 " for i = 1, #arg do\n"
348 " print(arg[i])\n"
349 " end\n"
350 "end\n"
351 "}\n"
352
353 #. type: SH
354 #: archlinux debian-unstable fedora-44 fedora-rawhide
355 #, no-wrap
356 msgid "SCRIPTLETS"
357 msgstr "SCRIPTLET-uri"
358
359 #. type: Plain text
360 #: archlinux debian-unstable fedora-44 fedora-rawhide
361 msgid ""
362 "The internal Lua can be used as the interpreter of RPM any transaction "
363 "scriptlets, including triggers and file triggers:"
364 msgstr ""
365 "Lua intern poate fi utilizat ca interpret al scriptlet-urilor de tranzacții "
366 "RPM, inclusiv declanșatoarele și declanșatoarele de fișiere:"
367
368 #. type: Plain text
369 #: archlinux debian-unstable fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid ""
372 "%pre -p E<lt>luaE<gt>\n"
373 "print(\\&'Hello from Lua\\&')\n"
374 msgstr ""
375 "%pre -p E<lt>luaE<gt>\n"
376 "print(\\&'Salutare din Lua\\&')\n"
377
378 #. type: Plain text
379 #: archlinux debian-unstable fedora-44 fedora-rawhide
380 msgid ""
381 "While the venerable I</bin/sh> is usually more convenient for packaging "
382 "related scripting activities, the embedded Lua interpreter has some unique "
383 "advantages for transaction scriptlets: they add no extra dependencies to the "
384 "packages and so can help eliminate dependency loops.\\& This can be a "
385 "crucial difference in the early \"bootstrap\" package set in an initial "
386 "install.\\&"
387 msgstr ""
388 "Deși venerabilul I</bin/sh> este de obicei mai convenabil pentru "
389 "activitățile de scripturi legate de împachetare, interpretul Lua încorporat "
390 "are câteva avantaje unice pentru scriptlet-urile de tranzacții: acestea nu "
391 "adaugă dependențe suplimentare pachetelor și astfel pot ajuta la eliminarea "
392 "buclelor de dependență. Aceasta poate fi o diferență crucială în setul de "
393 "pachete „bootstrap” inițial dintr-o instalare inițială.\\&"
394
395 #. type: Plain text
396 #: archlinux debian-unstable fedora-44 fedora-rawhide
397 msgid ""
398 "In particular, an embedded Lua script is the only generally usable option in "
399 "B<%pretrans> scriplets during the initial installation of a system.\\&"
400 msgstr ""
401 "În special, un script Lua încorporat este singura opțiune general "
402 "utilizabilă în scriplet-urile B<%pretrans> în timpul instalării inițiale a "
403 "unui sistem.\\&"
404
405 #. type: Plain text
406 #: archlinux debian-unstable fedora-44 fedora-rawhide
407 msgid ""
408 "Embedded Lua is also much faster than executing a potentially heavyweight "
409 "interpreter just to run a couple of lines of shell script.\\&"
410 msgstr ""
411 "Lua încorporat este, de asemenea, mult mai rapid decât executarea unui "
412 "interpret potențial greoi doar pentru a rula câteva linii de script shell.\\&"
413
414 #. type: Plain text
415 #: archlinux debian-unstable fedora-44 fedora-rawhide
416 msgid ""
417 "Note: scriptlets using the internal Lua should not make assumptions about "
418 "sharing the execution environment with other scriptlets.\\&"
419 msgstr ""
420 "Notă: scriptlet-urile care utilizează Lua intern nu trebuie să facă "
421 "presupuneri cu privire la partajarea mediului de execuție cu alte scriptlet-"
422 "uri.\\&"
423
424 #. type: SS
425 #: archlinux debian-unstable fedora-44 fedora-rawhide
426 #, no-wrap
427 msgid "Arguments"
428 msgstr "Argumente"
429
430 #. type: Plain text
431 #: archlinux debian-unstable fedora-44 fedora-rawhide
432 msgid "Scriptlet arguments are accessible from a global B<arg> table.\\&"
433 msgstr ""
434 "Argumentele scriptlet-ului sunt accesibile dintr-un tabel de B<arg> global."
435 "\\&"
436
437 #. type: Plain text
438 #: archlinux debian-unstable fedora-44 fedora-rawhide
439 msgid ""
440 "Note: in Lua, indexes customarily start at 1 (one) instead of 0 (zero), and "
441 "for the better or worse, the RPM implementation follows this practise.\\& "
442 "Thus the scriptlet arg indexes are off by one from general expectation based "
443 "on traditional scriptlet arguments.\\& The argument containing number of "
444 "installed package instances is B<arg[2]> and the similar argument for "
445 "trigger targets is B<arg[3]>, vs the traditional B<$1> and B<$2> in shell "
446 "scripts.\\&"
447 msgstr ""
448 "Notă: în Lua, indexurile încep de obicei de la 1 (unu) în loc de 0 (zero) "
449 "și, în bine sau în rău, implementarea RPM urmează această practică.\\& "
450 "Astfel, indexurile arg ale scriptlet-ului sunt cu unu mai mici decât se "
451 "așteaptă în mod normal, pe baza argumentelor tradiționale ale scriptlet-ului."
452 "\\& Argumentul care conține numărul de instanțe ale pachetului instalat este "
453 "B<arg[2]>, iar argumentul similar pentru țintele declanșatoare este "
454 "B<arg[3]>, față de B<$1> și B<$2> tradiționale din scripturile shell.\\&"
455
456 #. type: Plain text
457 #: archlinux debian-unstable fedora-44 fedora-rawhide
458 #, no-wrap
459 msgid ""
460 "%postun -p E<lt>luaE<gt>\n"
461 "if arg[2] == 0 then\n"
462 " print(\"erasing\")\n"
463 "end\n"
464 msgstr ""
465 "%postun -p E<lt>luaE<gt>\n"
466 "if arg[2] == 0 then\n"
467 " print(\"erasing\")\n"
468 "end\n"
469
470 #. type: SS
471 #: archlinux debian-unstable fedora-44 fedora-rawhide
472 #, no-wrap
473 msgid "Relocatable packages"
474 msgstr "Pachete realocabile"
475
476 #. type: Plain text
477 #: archlinux debian-unstable fedora-44 fedora-rawhide
478 msgid ""
479 "Scriptlets of relocatable packages additionally carry a global "
480 "B<RPM_INSTALL_PREFIX> table containing all the possible prefixes of the "
481 "package.\\&"
482 msgstr ""
483 "Scriptlet-urile pachetelor realocabile conțin în plus un tabel global "
484 "B<RPM_INSTALL_PREFIX> care conține toate prefixele posibile ale pachetului."
485 "\\&"
486
487 #. type: Plain text
488 #: archlinux debian-unstable fedora-44 fedora-rawhide
489 msgid "Added: 4.\\&18.\\&0"
490 msgstr "Adăugat: 4.18.0"
491
492 #. type: SS
493 #: archlinux debian-unstable fedora-44 fedora-rawhide
494 #, no-wrap
495 msgid "Exit status"
496 msgstr "Starea de ieșire"
497
498 #. type: Plain text
499 #: archlinux debian-unstable fedora-44 fedora-rawhide
500 msgid ""
501 "While scriptlets shouldn'\\&t be allowed to fail normally, you can signal "
502 "scriptlet failure status by using Lua'\\&s B<error(>I<msg>, [I<level>]B<)> "
503 "function if you need to.\\&"
504 msgstr ""
505 "Deși scriptlet-urile nu ar trebui să poată eșua în mod normal, puteți "
506 "semnaliza starea de eșec a scriptlet-ului utilizând funcția Lua "
507 "B<error(>I<mesaj>, [I<nivel>]B<)> dacă este necesar.\\&"
508
509 #. type: SH
510 #: archlinux debian-unstable fedora-44 fedora-rawhide
511 #, no-wrap
512 msgid "SPEC FILES"
513 msgstr "FIȘIERELE DE SPECIFICAȚII"
514
515 #. type: Plain text
516 #: archlinux debian-unstable fedora-44 fedora-rawhide
517 msgid ""
518 "In the context of a B<rpm-spec>(5) file parse with B<rpmbuild>(1) or "
519 "B<rpmspec>(1), the RPM Lua environment contains the following spec specific "
520 "global tables:"
521 msgstr ""
522 "În contextul unei analize a fișierului B<rpm-spec>(5) cu B<rpmbuild>(1) sau "
523 "B<rpmspec>(1), mediul RPM Lua conține următoarele tabele globale specifice "
524 "specificațiilor:"
525
526 #. type: Plain text
527 #: archlinux debian-unstable fedora-44 fedora-rawhide
528 msgid "B<patches>"
529 msgstr "B<patches>"
530
531 #. type: Plain text
532 #: archlinux debian-unstable fedora-44 fedora-rawhide
533 msgid ""
534 "The filenames of the patches in the spec, in the order they appeared in the "
535 "spec.\\&"
536 msgstr ""
537 "Numele fișierelor corecțiilor (plasturilor) din specificație, în ordinea în "
538 "care apar în specificație.\\&"
539
540 #. type: Plain text
541 #: archlinux debian-unstable fedora-44 fedora-rawhide
542 msgid "B<patch_nums>"
543 msgstr "B<patch_nums>"
544
545 #. type: Plain text
546 #: archlinux debian-unstable fedora-44 fedora-rawhide
547 msgid ""
548 "The numbers of the patches in the spec, in the order they appeared in the "
549 "spec.\\&"
550 msgstr ""
551 "Numerele corecțiilor din specificație, în ordinea în care au apărut în "
552 "specificație.\\&"
553
554 #. type: Plain text
555 #: archlinux debian-unstable fedora-44 fedora-rawhide
556 msgid "B<sources>"
557 msgstr "B<sources>"
558
559 #. type: Plain text
560 #: archlinux debian-unstable fedora-44 fedora-rawhide
561 msgid ""
562 "The filenames of the sources in the spec, in the order they appeared in the "
563 "spec.\\&"
564 msgstr ""
565 "Numele fișierelor surselor din specificație, în ordinea în care apar în "
566 "specificație.\\&"
567
568 #. type: Plain text
569 #: archlinux debian-unstable fedora-44 fedora-rawhide
570 msgid "B<source_nums>"
571 msgstr "B<source_nums>"
572
573 #. type: Plain text
574 #: archlinux debian-unstable fedora-44 fedora-rawhide
575 msgid ""
576 "The numbers of the sources in the spec, in the order they appeared in the "
577 "spec.\\&"
578 msgstr ""
579 "Numerele surselor din specificație, în ordinea în care apar în specificație."
580 "\\&"
581
582 #. type: Plain text
583 #: archlinux debian-unstable fedora-44 fedora-rawhide
584 #, no-wrap
585 msgid ""
586 "for i, p in ipairs(patches) do\n"
587 " print(string\\&.format(\"echo %d: %sn\", patch_nums[i], patches[i]))\n"
588 "end\n"
589 msgstr ""
590 "for i, p in ipairs(patches) do\n"
591 " print(string\\&.format(\"echo %d: %sn\", patch_nums[i], patches[i]))\n"
592 "end\n"
593
594 #. type: SH
595 #: archlinux debian-unstable fedora-44 fedora-rawhide
596 #, no-wrap
597 msgid "EXTENSIONS"
598 msgstr "EXTENSII"
599
600 #. type: Plain text
601 #: archlinux debian-unstable fedora-44 fedora-rawhide
602 msgid ""
603 "In addition to Lua standard libraries (subject to the Lua version RPM is "
604 "linked to), the following extensions are available in the RPM internal Lua "
605 "interpreter.\\& These can be used in all contexts where the internal Lua can "
606 "be used.\\&"
607 msgstr ""
608 "În plus față de bibliotecile standard Lua (în funcție de versiunea Lua la "
609 "care este legat RPM), următoarele extensii sunt disponibile în interpretul "
610 "intern Lua al RPM. Acestea pot fi utilizate în toate contextele în care "
611 "poate fi utilizat Lua intern.\\&"
612
613 #. type: SS
614 #: archlinux debian-unstable fedora-44 fedora-rawhide
615 #, no-wrap
616 msgid "rpm extension"
617 msgstr "extensie rpm"
618
619 #. type: Plain text
620 #: archlinux debian-unstable fedora-44 fedora-rawhide
621 msgid "The following RPM specific functions are available:"
622 msgstr "Sunt disponibile următoarele funcții specifice RPM:"
623
624 #. type: Plain text
625 #: archlinux debian-unstable fedora-44 fedora-rawhide
626 msgid "B<b64decode(>I<arg>B<)>"
627 msgstr "B<b64decode(>I<argument>B<)>"
628
629 #. type: Plain text
630 #: archlinux debian-unstable fedora-44 fedora-rawhide
631 msgid "Perform base64 decoding on argument.\\& See also b64encode().\\&"
632 msgstr ""
633 "Efectuează decodificarea base64 pe argument.\\& A se vedea de asemenea, "
634 "b64encode().\\&"
635
636 #. type: Plain text
637 #: archlinux debian-unstable fedora-44 fedora-rawhide
638 #, no-wrap
639 msgid ""
640 "blob = \\&'binary data\\&'\n"
641 "print(blob)\n"
642 "e = rpm\\&.b64encode(blob)\n"
643 "print(e)\n"
644 "d = rpm\\&.b64decode(e)\n"
645 "print(d)\n"
646 msgstr ""
647 "blob = \\&'binary data\\&'\n"
648 "print(blob)\n"
649 "e = rpm\\&.b64encode(blob)\n"
650 "print(e)\n"
651 "d = rpm\\&.b64decode(e)\n"
652 "print(d)\n"
653
654 #. type: Plain text
655 #: archlinux debian-unstable fedora-44 fedora-rawhide
656 msgid "B<b64encode(>I<arg> [, I<linelen>]B<)>"
657 msgstr "B<b64encode(>I<argument> [, I<lungime-linie>]B<)>"
658
659 #. type: Plain text
660 #: archlinux debian-unstable fedora-44 fedora-rawhide
661 msgid ""
662 "Perform base64 encoding on argument.\\& Line length may be optionally "
663 "specified via second argument.\\& See also b64decode().\\&"
664 msgstr ""
665 "Efectuează codificarea base64 pe argument.\\& Lungimea liniei poate fi "
666 "specificată opțional prin al doilea argument.\\& A se vedea de asemenea, "
667 "b64decode().\\&"
668
669 #. type: Plain text
670 #: archlinux debian-unstable fedora-44 fedora-rawhide
671 msgid "B<define(\">I<name> I<body>B<\")>"
672 msgstr "B<define(\">I<nume> I<corp>B<\")>"
673
674 #. type: Plain text
675 #: archlinux debian-unstable fedora-44 fedora-rawhide
676 msgid "Define a global macro I<name> with I<body>.\\& See also B<MACROS>.\\&"
677 msgstr ""
678 "Definește o macrocomandă globală I<nume> cu I<corp>.\\& A se vedea de "
679 "asemenea, secțiunea B<MACROCOMENZI>.\\&"
680
681 #. type: Plain text
682 #: archlinux debian-unstable fedora-44 fedora-rawhide
683 #, no-wrap
684 msgid "rpm\\&.define(\\&'foo 1\\&')\n"
685 msgstr "rpm\\&.define(\\&'foo 1\\&')\n"
686
687 #. type: Plain text
688 #: archlinux debian-unstable fedora-44 fedora-rawhide
689 msgid "B<execute(>I<path> [, I<arg1> [,.\\&.\\&.\\&]B<)>"
690 msgstr "B<execute(>I<rută> [, I<argument1> [,.\\&.\\&.\\&]B<)>"
691
692 #. type: Plain text
693 #: archlinux debian-unstable fedora-44 fedora-rawhide
694 msgid ""
695 "Execute an external command.\\& This is handy for executing external helper "
696 "commands without depending on the shell.\\& I<path> is the command to "
697 "execute, followed by optional number of arguments to pass to the command.\\&"
698 msgstr ""
699 "Execută o comandă externă.\\& Aceasta este utilă pentru executarea "
700 "comenzilor auxiliare externe fără a depinde de shell.\\& I<rută> este "
701 "comanda de executat, urmată de un număr opțional de argumente care trebuie "
702 "transmise comenzii.\\&"
703
704 #. type: Plain text
705 #: archlinux debian-unstable fedora-44 fedora-rawhide
706 msgid ""
707 "For a better control over the process execution and output, see rpm."
708 "\\&spawn().\\&"
709 msgstr ""
710 "Pentru un control mai bun asupra execuției procesului și a rezultatului, "
711 "consultați rpm.\\&spawn().\\&"
712
713 #. type: Plain text
714 #: archlinux debian-unstable fedora-44 fedora-rawhide
715 msgid "Added: 4.\\&15.\\&0"
716 msgstr "Adăugată: 4.15.0"
717
718 #. type: Plain text
719 #: archlinux debian-unstable fedora-44 fedora-rawhide
720 #, no-wrap
721 msgid "rpm\\&.execute(\\&'ls\\&', \\&'-l\\&', \\&'/\\&')\n"
722 msgstr "rpm\\&.execute(\\&'ls\\&', \\&'-l\\&', \\&'/\\&')\n"
723
724 #. type: Plain text
725 #: archlinux debian-unstable fedora-44 fedora-rawhide
726 msgid "B<expand(>I<arg>B<)>"
727 msgstr "B<expand(>I<argument>B<)>"
728
729 #. type: Plain text
730 #: archlinux debian-unstable fedora-44 fedora-rawhide
731 msgid "Perform RPM macro expansion on I<arg> string.\\& See also B<MACROS>.\\&"
732 msgstr ""
733 "Efectuează expansiunea macrocomenzii RPM pe șirul I<argumentului>.\\& A se "
734 "vedea de asemenea, secțiunea B<MACROCOMENZI>.\\&"
735
736 #. type: Plain text
737 #: archlinux debian-unstable fedora-44 fedora-rawhide
738 #, no-wrap
739 msgid "rpm\\&.expand(\\&'%{_libdir}/mydir\\&')\n"
740 msgstr "rpm\\&.expand(\\&'%{_libdir}/mydir\\&')\n"
741
742 #. type: Plain text
743 #: archlinux debian-unstable fedora-44 fedora-rawhide
744 msgid "B<glob(>I<pattern>, [I<flags>]B<)>"
745 msgstr "B<glob(>I<model>, [I<fanioane>]B<)>"
746
747 #. type: Plain text
748 #: archlinux debian-unstable fedora-44 fedora-rawhide
749 msgid ""
750 "Return a table of pathnames matching I<pattern>.\\& If I<flags> contains "
751 "B<c>, return I<pattern> in case of no matches.\\&"
752 msgstr ""
753 "Returnează un tabel cu numele de rute care corespund cu I<model>.\\& Dacă "
754 "I<fanioane> conține B<c>, returnează I<model> în cazul în care nu există "
755 "coincidențe.\\&"
756
757 #. type: Plain text
758 #: archlinux debian-unstable fedora-44 fedora-rawhide
759 #, no-wrap
760 msgid ""
761 "for i, p in ipairs(rpm\\&.glob(\\&'*\\&')) do\n"
762 " print(p)\n"
763 "end\n"
764 msgstr ""
765 "for i, p in ipairs(rpm\\&.glob(\\&'*\\&')) do\n"
766 " print(p)\n"
767 "end\n"
768
769 #. type: Plain text
770 #: archlinux debian-unstable fedora-44 fedora-rawhide
771 msgid "B<interactive()>"
772 msgstr "B<interactive()>"
773
774 #. type: Plain text
775 #: archlinux debian-unstable fedora-44 fedora-rawhide
776 msgid ""
777 "Launch interactive session for testing and debugging.\\& Use B<rpmlua>(1) "
778 "instead.\\&"
779 msgstr ""
780 "Lansează sesiunea interactivă pentru testare și depanare. Utilizați în "
781 "schimb B<rpmlua>(1).\\&"
782
783 #. type: Plain text
784 #: archlinux debian-unstable fedora-44 fedora-rawhide
785 #, no-wrap
786 msgid "rpm --eval \"%{lua: rpm\\&.interactive()}\"\n"
787 msgstr "rpm --eval \"%{lua: rpm\\&.interactive()}\"\n"
788
789 #. type: Plain text
790 #: archlinux debian-unstable fedora-44 fedora-rawhide
791 msgid "B<isdefined(>I<name>B<)>"
792 msgstr "B<isdefined(>I<nume>B<)>"
793
794 #. type: Plain text
795 #: archlinux debian-unstable fedora-44 fedora-rawhide
796 msgid ""
797 "Test whether a macro I<name> is defined and whether it'\\&s parametric, "
798 "returned in two booleans.\\& See also B<MACROS>.\\& (Added: 4.\\&17.\\&0)"
799 msgstr ""
800 "Testează dacă o macrocomandă I<nume> este definită și dacă este parametrică, "
801 "returnând două valori booleene. A se vedea de asemenea, secțiunea "
802 "B<MACROCOMENZI>. (Adăugată: 4.17.0)"
803
804 #. type: Plain text
805 #: archlinux debian-unstable fedora-44 fedora-rawhide
806 #, no-wrap
807 msgid ""
808 "if rpm\\&.isdefined(\\&'_libdir\\&') then\n"
809 " \\&.\\&.\\&.\n"
810 "end\n"
811 msgstr ""
812 "if rpm\\&.isdefined(\\&'_libdir\\&') then\n"
813 " \\&.\\&.\\&.\n"
814 "end\n"
815
816 #. type: Plain text
817 #: archlinux debian-unstable fedora-44 fedora-rawhide
818 msgid "B<load(>I<path>B<)>"
819 msgstr "B<load(>I<rută>B<)>"
820
821 #. type: Plain text
822 #: archlinux debian-unstable fedora-44 fedora-rawhide
823 msgid ""
824 "Load a macro file from given path.\\& Same as the built-in B<%{load:.\\&.\\&."
825 "\\&}> macro.\\&"
826 msgstr ""
827 "Încarcă un fișier de macrocomandă din ruta specificată.\\& La fel ca "
828 "macrocomanda încorporată B<%{load:.\\&.\\&.\\&}>.\\&"
829
830 #. type: Plain text
831 #: archlinux debian-unstable fedora-44 fedora-rawhide
832 #, no-wrap
833 msgid "rpm\\&.load(\\&'my\\&.macros\\&')\n"
834 msgstr "rpm\\&.load(\\&'my\\&.macros\\&')\n"
835
836 #. type: Plain text
837 #: archlinux debian-unstable fedora-44 fedora-rawhide
838 msgid "B<open(>I<path>, [I<mode>[.\\&I<flags>]]B<)>"
839 msgstr "B<open(>I<rută>, [I<mod>[.\\&I<fanioane>]]B<)>"
840
841 #. type: Plain text
842 #: archlinux debian-unstable fedora-44 fedora-rawhide
843 msgid ""
844 "Open a file stream using RPM IO facilities, with support for transparent "
845 "compression and decompression.\\&"
846 msgstr ""
847 "Deschide un flux de fișiere utilizând facilitățile RPM IO, cu suport pentru "
848 "comprimare și decomprimare transparentă.\\&"
849
850 #. type: Plain text
851 #: archlinux debian-unstable fedora-44 fedora-rawhide
852 msgid ""
853 "I<path> is filename string, optionally followed with I<mode> string to "
854 "specify open behavior:"
855 msgstr ""
856 "I<rută> este șirul numelui fișierului, urmat opțional de șirul I<mod> pentru "
857 "a specifica comportamentul de deschidere:"
858
859 #. type: Plain text
860 #: archlinux debian-unstable fedora-44 fedora-rawhide
861 msgid "B<a>: open for append"
862 msgstr "B<a>: deschide pentru adăugare"
863
864 #. type: Plain text
865 #: archlinux debian-unstable fedora-44 fedora-rawhide
866 msgid "B<w>: open for writing, truncate"
867 msgstr "B<w>: deschide pentru scriere, trunchiere"
868
869 #. type: Plain text
870 #: archlinux debian-unstable fedora-44 fedora-rawhide
871 msgid "B<r>: open for reading (default)"
872 msgstr "B<r>: deschide pentru citire (implicit)"
873
874 #. type: Plain text
875 #: archlinux debian-unstable fedora-44 fedora-rawhide
876 msgid "B<+>: open for reading and writing"
877 msgstr "B<+>: deschide pentru citire și scriere"
878
879 #. type: Plain text
880 #: archlinux debian-unstable fedora-44 fedora-rawhide
881 msgid "B<x>: fail if file exists"
882 msgstr "B<x>: eșuează dacă fișierul există"
883
884 #. type: Plain text
885 #: archlinux debian-unstable fedora-44 fedora-rawhide
886 msgid ""
887 "and optionally followed by B<rpm-payloadflags>(7) for compression and "
888 "decompression.\\&"
889 msgstr ""
890 "și, opțional, urmat de B<rpm-payloadflags>(7) pentru comprimare și "
891 "decomprimare.\\&"
892
893 #. type: Plain text
894 #: archlinux debian-unstable fedora-44 fedora-rawhide
895 msgid "Added: 4.\\&17.\\&0"
896 msgstr "Adăugată: 4.17.0"
897
898 #. type: Plain text
899 #: archlinux debian-unstable fedora-44 fedora-rawhide
900 #, no-wrap
901 msgid ""
902 "f = rpm\\&.open(\\&'some\\&.txt\\&.gz\\&', \\&'r\\&.gzdio\\&')\n"
903 "print(f:read())\n"
904 msgstr ""
905 "f = rpm\\&.open(\\&'some\\&.txt\\&.gz\\&', \\&'r\\&.gzdio\\&')\n"
906 "print(f:read())\n"
907
908 #. type: Plain text
909 #: archlinux debian-unstable fedora-44 fedora-rawhide
910 msgid "The returned rpm.\\&fd object has the following methods:"
911 msgstr "Obiectul rpm.\\&fd returnat are următoarele metode:"
912
913 #. type: Plain text
914 #: archlinux debian-unstable fedora-44 fedora-rawhide
915 msgid "B<fd:close()>"
916 msgstr "B<fd:close()>"
917
918 #. type: Plain text
919 #: archlinux debian-unstable fedora-44 fedora-rawhide
920 msgid "Close the file stream.\\&"
921 msgstr "Închide fluxul fișierului.\\&"
922
923 #. type: Plain text
924 #: archlinux debian-unstable fedora-44 fedora-rawhide
925 #, no-wrap
926 msgid ""
927 "f = rpm\\&.open(\\&'file\\&')\n"
928 "f:close()\n"
929 msgstr ""
930 "f = rpm\\&.open(\\&'file\\&')\n"
931 "f:close()\n"
932
933 #. type: Plain text
934 #: archlinux debian-unstable fedora-44 fedora-rawhide
935 msgid "B<fd:flush()>"
936 msgstr "B<fd:flush()>"
937
938 #. type: Plain text
939 #: archlinux debian-unstable fedora-44 fedora-rawhide
940 msgid "Flush the file stream.\\&"
941 msgstr "Golește fluxul fișierului.\\&"
942
943 #. type: Plain text
944 #: archlinux debian-unstable fedora-44 fedora-rawhide
945 #, no-wrap
946 msgid ""
947 "f = rpm\\&.open(\\&'file\\&', \\&'w\\&')\n"
948 "f:write(\\&'foo\\&')\n"
949 "f:flush()\n"
950 "f:close()\n"
951 msgstr ""
952 "f = rpm\\&.open(\\&'file\\&', \\&'w\\&')\n"
953 "f:write(\\&'foo\\&')\n"
954 "f:flush()\n"
955 "f:close()\n"
956
957 #. type: Plain text
958 #: archlinux debian-unstable fedora-44 fedora-rawhide
959 msgid "B<fd:read(>[I<len>]B<)>"
960 msgstr "B<fd:read(>[I<lungime>]B<)>"
961
962 #. type: Plain text
963 #: archlinux debian-unstable fedora-44 fedora-rawhide
964 msgid ""
965 "Read data from the file stream up to I<len> bytes or if not specified, the "
966 "entire file.\\&"
967 msgstr ""
968 "Citește datele din fluxul de fișiere până la I<lungime> octeți sau, dacă nu "
969 "este specificată, întregul fișier.\\&"
970
971 #. type: Plain text
972 #: archlinux debian-unstable fedora-44 fedora-rawhide
973 #, no-wrap
974 msgid ""
975 "f = rpm\\&.open(\\&'/some/file\\&')\n"
976 "print(f:read())\n"
977 msgstr ""
978 "f = rpm\\&.open(\\&'/vreun/fișier\\&')\n"
979 "print(f:read())\n"
980
981 #. type: Plain text
982 #: archlinux debian-unstable fedora-44 fedora-rawhide
983 msgid "B<fd:seek(>I<mode>, I<offset>B<)>"
984 msgstr "B<fd:seek(>I<mod>, I<poziție>B<)>"
985
986 #. type: Plain text
987 #: archlinux debian-unstable fedora-44 fedora-rawhide
988 msgid ""
989 "Reposition the file offset of the stream.\\& I<mode> is one of B<set>, "
990 "B<cur> and B<end>, and offset is relative to the mode: absolute, relative to "
991 "current or relative to end.\\& Not all streams support seeking.\\&"
992 msgstr ""
993 "Repoziționează poziția fișierului în flux.& I<mod> este unul dintre B<set>, "
994 "B<cur> și B<end>, iar poziția este relativă la mod: absolută, relativă la "
995 "curent sau relativă la sfârșit.& Nu toate fluxurile acceptă căutarea.&"
996
997 #. type: Plain text
998 #: archlinux debian-unstable fedora-44 fedora-rawhide
999 msgid "Returns file offset after the operation.\\&"
1000 msgstr "Returnează decalajul fișierului după operație.\\&"
1001
1002 #. type: Plain text
1003 #: archlinux debian-unstable fedora-44 fedora-rawhide
1004 msgid "See also B<lseek>(3).\\&"
1005 msgstr "A se vedea de asemenea B<lseek>(3).\\&"
1006
1007 #. type: Plain text
1008 #: archlinux debian-unstable fedora-44 fedora-rawhide
1009 #, no-wrap
1010 msgid ""
1011 "f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n"
1012 "f:seek(\\&'set\\&', 555)\n"
1013 "f:close()\n"
1014 msgstr ""
1015 "f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n"
1016 "f:seek(\\&'set\\&', 555)\n"
1017 "f:close()\n"
1018
1019 #. type: Plain text
1020 #: archlinux debian-unstable fedora-44 fedora-rawhide
1021 msgid "B<fd:write(>I<buf> [, I<len>]B<)>"
1022 msgstr "B<fd:write(>I<buffer> [, I<lungime>]B<)>"
1023
1024 #. type: Plain text
1025 #: archlinux debian-unstable fedora-44 fedora-rawhide
1026 msgid ""
1027 "Write data in I<buf> to the file stream, either in its entirety or up to "
1028 "I<len> bytes if specified.\\&"
1029 msgstr ""
1030 "Scrie datele din I<buffer> în fluxul de fișiere, fie în întregime, fie până "
1031 "la I<lungime> octeți, dacă este specificată.\\&"
1032
1033 #. type: Plain text
1034 #: archlinux debian-unstable fedora-44 fedora-rawhide
1035 #, no-wrap
1036 msgid ""
1037 "f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n"
1038 "f:write(\\&'data data\\&')\n"
1039 "f:close()\n"
1040 msgstr ""
1041 "f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n"
1042 "f:write(\\&'data data\\&')\n"
1043 "f:close()\n"
1044
1045 #. type: Plain text
1046 #: archlinux debian-unstable fedora-44 fedora-rawhide
1047 msgid "B<fd:reopen(>I<mode>B<)>"
1048 msgstr "B<fd:reopen(>I<mod>B<)>"
1049
1050 #. type: Plain text
1051 #: archlinux debian-unstable fedora-44 fedora-rawhide
1052 msgid "Reopen a stream with a new mode (see B<rpm.\\&open()>).\\&"
1053 msgstr "Redeschide un flux cu un mod nou (a se vedea B<rpm.\\&open()>).\\&"
1054
1055 #. type: Plain text
1056 #: archlinux debian-unstable fedora-44 fedora-rawhide
1057 #, no-wrap
1058 msgid ""
1059 "rpm\\&.open(\\&'some\\&.txt\\&.gz\\&')\n"
1060 "f = f:reopen(\\&'r\\&.gzdio\\&')\n"
1061 "print(f:read())}\n"
1062 msgstr ""
1063 "rpm\\&.open(\\&'vreun\\&.txt\\&.gz\\&')\n"
1064 "f = f:reopen(\\&'r\\&.gzdio\\&')\n"
1065 "print(f:read())}\n"
1066
1067 #. type: Plain text
1068 #: archlinux debian-unstable fedora-44 fedora-rawhide
1069 msgid "B<redirect2null(>I<fdno>B<)> (OBSOLETE)"
1070 msgstr "B<redirect2null(>I<fdno>B<)> (OBSOLETĂ)"
1071
1072 #. type: Plain text
1073 #: archlinux debian-unstable fedora-44 fedora-rawhide
1074 msgid ""
1075 "Redirect file descriptor fdno to /dev/null (prior to 4.\\&16 this was known "
1076 "as posix.\\&redirect2null())"
1077 msgstr ""
1078 "Redirecționează descriptorul de fișier fdno către /dev/null (înainte de "
1079 "4.\\&16, aceasta era cunoscută sub numele de posix.\\&redirect2null())"
1080
1081 #. type: Plain text
1082 #: archlinux debian-unstable fedora-44 fedora-rawhide
1083 msgid ""
1084 "This function is obsolete and only available for RPM v4 packages for "
1085 "backwards compatibility.\\& Use `rpm.\\&spawn()` or `rpm.\\&execute()` "
1086 "instead.\\&"
1087 msgstr ""
1088 "Această funcție este învechită și disponibilă numai pentru pachetele RPM v4, "
1089 "din motive de compatibilitate cu versiunile anterioare. Utilizați în schimb "
1090 "„rpm.spawn()” sau „rpm.execute()”.\\&"
1091
1092 #. type: Plain text
1093 #: archlinux debian-unstable fedora-44 fedora-rawhide
1094 #, no-wrap
1095 msgid ""
1096 "pid = posix\\&.fork()\n"
1097 "if pid == 0 then\n"
1098 " posix\\&.redirect2null(2)\n"
1099 " assert(posix\\&.exec(\\&'/bin/awk\\&'))\n"
1100 "elseif pid E<gt> 0 then\n"
1101 " posix\\&.wait(pid)\n"
1102 "end\n"
1103 msgstr ""
1104 "pid = posix\\&.fork()\n"
1105 "if pid == 0 then\n"
1106 " posix\\&.redirect2null(2)\n"
1107 " assert(posix\\&.exec(\\&'/bin/awk\\&'))\n"
1108 "elseif pid E<gt> 0 then\n"
1109 " posix\\&.wait(pid)\n"
1110 "end\n"
1111
1112 #. type: Plain text
1113 #: archlinux debian-unstable fedora-44 fedora-rawhide
1114 msgid "B<spawn(>{I<command>} [, {I<actions>}]B<)>"
1115 msgstr "B<spawn(>{I<comanda>} [, {I<acțiuni>}]B<)>"
1116
1117 #. type: Plain text
1118 #: archlinux debian-unstable fedora-44 fedora-rawhide
1119 msgid "Spawn, aka execute, an external program.\\&"
1120 msgstr "Lansează, adică execută, un program extern.\\&"
1121
1122 #. type: Plain text
1123 #: archlinux debian-unstable fedora-44 fedora-rawhide
1124 msgid ""
1125 "{I<command>} is a table consisting of the command and its arguments.\\& An "
1126 "optional second table can be used to pass various actions related to the "
1127 "command execution, currently supported are:"
1128 msgstr ""
1129 "{I<comanda>} este un tabel format din comandă și argumentele sale.\\& Un al "
1130 "doilea tabel opțional poate fi utilizat pentru a transmite diverse acțiuni "
1131 "legate de executarea comenzii. În prezent, sunt acceptate următoarele:"
1132
1133 #. type: Plain text
1134 #: archlinux debian-unstable fedora-44 fedora-rawhide
1135 #, no-wrap
1136 msgid ""
1137 "| Action | Argument(s) | Description\n"
1138 "|---------|----------------------\n"
1139 "| *stdin* | path | Redirect standard input to path\n"
1140 "| *stdout*| path | Redirect standard output to path\n"
1141 "| *stderr*| path | Redirect standard error to path\n"
1142 msgstr ""
1143 "| Acțiune | Argument(e) | Descriere\n"
1144 "|----------|-------------------------\n"
1145 "| *stdin* | rută | Redirecționează intrarea standard către rută\n"
1146 "| *stdout* | rută | Redirecționează ieșirea standard către rută\n"
1147 "| *stderr* | rută | Redirecționează ieșirea de eroare standard către rută\n"
1148
1149 #. type: Plain text
1150 #: archlinux debian-unstable fedora-44 fedora-rawhide
1151 msgid ""
1152 "Returns the command exit status: zero on success, or a tuplet of (B<nil>, "
1153 "message, code) on failure.\\&"
1154 msgstr ""
1155 "Returnează starea de ieșire a comenzii: zero în caz de succes sau un tuplet "
1156 "de (B<nil>, mesaj, cod) în caz de eșec.\\&"
1157
1158 #. type: Plain text
1159 #: archlinux debian-unstable fedora-44 fedora-rawhide
1160 msgid "Added: 4.\\&20"
1161 msgstr "Adăugată: 4.20"
1162
1163 #. type: Plain text
1164 #: archlinux debian-unstable fedora-44 fedora-rawhide
1165 #, no-wrap
1166 msgid "rpm\\&.spawn({\\&'systemctl\\&', \\&'restart\\&', \\&'httpd\\&'}, {stderr=\\&'/dev/null\\&'})\n"
1167 msgstr "rpm\\&.spawn({\\&'systemctl\\&', \\&'restart\\&', \\&'httpd\\&'}, {stderr=\\&'/dev/null\\&'})\n"
1168
1169 #. type: Plain text
1170 #: archlinux debian-unstable fedora-44 fedora-rawhide
1171 msgid "B<undefine(>I<name>B<)>"
1172 msgstr "B<undefine(>I<nume>B<)>"
1173
1174 #. type: Plain text
1175 #: archlinux debian-unstable fedora-44 fedora-rawhide
1176 msgid "Undefine a macro.\\& See also B<MACROS>.\\&"
1177 msgstr ""
1178 "Anulează definirea unei macrocomenzi.\\& A se vedea și secțiunea "
1179 "B<MACROCOMENZI>.\\&"
1180
1181 #. type: Plain text
1182 #: archlinux debian-unstable fedora-44 fedora-rawhide
1183 msgid ""
1184 "Note that this is only pops the most recent macro definition by the given "
1185 "name from stack, ie there may be still macro definitions by the same name "
1186 "after an undefine operation.\\&"
1187 msgstr ""
1188 "Rețineți că aceasta afișează doar cea mai recentă definiție a macrocomenzii "
1189 "cu numele dat din stivă, adică pot exista încă definiții ale macrocomenzii "
1190 "cu același nume după o operație de anulare a definiției.\\&"
1191
1192 #. type: Plain text
1193 #: archlinux debian-unstable fedora-44 fedora-rawhide
1194 #, no-wrap
1195 msgid "rpm\\&.undefine(\\&'zzz\\&')\n"
1196 msgstr "rpm\\&.undefine(\\&'zzz\\&')\n"
1197
1198 #. type: Plain text
1199 #: archlinux debian-unstable fedora-44 fedora-rawhide
1200 msgid "B<vercmp(>I<v1>, I<v2>B<)>"
1201 msgstr "B<vercmp(>I<v1>, I<v2>B<)>"
1202
1203 #. type: Plain text
1204 #: archlinux debian-unstable fedora-44 fedora-rawhide
1205 msgid ""
1206 "Perform RPM version comparison on argument strings.\\& Returns -1, 0 or 1 if "
1207 "I<v1> is smaller, equal or larger than I<v2>.\\& See B<rpm-version>(7).\\&"
1208 msgstr ""
1209 "Efectuează compararea versiunilor RPM pe șirurile de argumente. Returnează "
1210 "-1, 0 sau 1 dacă I<v1> este mai mică, egală sau mai mare decât I<v2>.\\& "
1211 "Consultați B<rpm-version>(7).\\&"
1212
1213 #. type: Plain text
1214 #: archlinux debian-unstable fedora-44 fedora-rawhide
1215 msgid ""
1216 "Note: in RPM E<lt> 4.\\&16 this operated on version segments only, which "
1217 "does not produce correct results on full I<EVR> strings.\\&"
1218 msgstr ""
1219 "Notă: în RPM E<lt> 4.\\&16, aceasta funcționa numai pe segmente de versiune, "
1220 "ceea ce nu produce rezultate corecte pe șiruri I<EVR> complete.\\&"
1221
1222 #. type: Plain text
1223 #: archlinux debian-unstable fedora-44 fedora-rawhide
1224 #, no-wrap
1225 msgid "rpm\\&.vercmp(\\&'1\\&.2-1\\&', \\&'2\\&.0-1\\&')\n"
1226 msgstr "rpm\\&.vercmp(\\&'1\\&.2-1\\&', \\&'2\\&.0-1\\&')\n"
1227
1228 #. type: Plain text
1229 #: archlinux debian-unstable fedora-44 fedora-rawhide
1230 msgid "B<ver(>I<evr>B<)>, B<ver(>I<e>, I<v>, I<r>B<)>"
1231 msgstr "B<ver(>I<evr>B<)>, B<ver(>I<e>, I<v>, I<r>B<)>"
1232
1233 #. type: Plain text
1234 #: archlinux debian-unstable fedora-44 fedora-rawhide
1235 msgid ""
1236 "Create RPM version object.\\& This takes either an I<evr> string which is "
1237 "parsed to it'\\&s components, or epoch, version and release in separate "
1238 "arguments (which can be either strings or numbers).\\& The object has three "
1239 "attributes: B<e> for epoch, B<v> for version and B<r> for release, can be "
1240 "printed in it'\\&s EVR form and supports native comparison in Lua.\\&"
1241 msgstr ""
1242 "Creează obiectul versiune RPM. Acesta acceptă fie un șir I<evr> care este "
1243 "analizat în componentele sale, fie epoca, versiunea și lansarea în argumente "
1244 "separate (care pot fi șiruri sau numere).\\& Obiectul are trei atribute: "
1245 "B<e> pentru epocă, B<v> pentru versiune și B<r> pentru lansare, poate fi "
1246 "afișat în forma EVR și acceptă comparații native în Lua.\\&"
1247
1248 #. type: Plain text
1249 #: archlinux debian-unstable fedora-44 fedora-rawhide
1250 #, no-wrap
1251 msgid ""
1252 "v1 = rpm\\&.ver(\\&'5:1\\&.0-2)\n"
1253 "v2 = rpm\\&.ver(3, \\&'5a\\&', 1)\n"
1254 "if v1 E<lt> v2 then\n"
1255 " \\&.\\&.\\&.\n"
1256 "end\n"
1257 msgstr ""
1258 "v1 = rpm\\&.ver(\\&'5:1\\&.0-2)\n"
1259 "v2 = rpm\\&.ver(3, \\&'5a\\&', 1)\n"
1260 "if v1 E<lt> v2 then\n"
1261 " \\&.\\&.\\&.\n"
1262 "end\n"
1263
1264 #. type: Plain text
1265 #: archlinux debian-unstable fedora-44 fedora-rawhide
1266 #, no-wrap
1267 msgid ""
1268 "if v1\\&.e then\n"
1269 " \\&.\\&.\\&.\n"
1270 "end\n"
1271 msgstr ""
1272 "if v1\\&.e then\n"
1273 " \\&.\\&.\\&.\n"
1274 "end\n"
1275
1276 #. type: SS
1277 #: archlinux debian-unstable fedora-44 fedora-rawhide
1278 #, no-wrap
1279 msgid "posix extension"
1280 msgstr "extensie posix"
1281
1282 #. type: Plain text
1283 #: archlinux debian-unstable fedora-44 fedora-rawhide
1284 msgid ""
1285 "Lua standard library offers fairly limited set of io operations.\\& The "
1286 "B<posix> extension greatly enhances what can be done from Lua.\\&"
1287 msgstr ""
1288 "Biblioteca standard Lua oferă un set destul de limitat de operații de In/"
1289 "Ieș. Extensia B<posix> îmbunătățește considerabil posibilitățile oferite de "
1290 "Lua.\\&"
1291
1292 #. type: Plain text
1293 #: archlinux debian-unstable fedora-44 fedora-rawhide
1294 msgid ""
1295 "The following functions are available in the B<posix> namespace, ie to call "
1296 "them use B<posix.\\&function()>.\\& This documentation concentrates on the "
1297 "Lua API conventions, for further information on the corresponding system "
1298 "calls refer to the system manual, eg B<access>(3) for B<posix.\\&access()>."
1299 "\\&"
1300 msgstr ""
1301 "Următoarele funcții sunt disponibile în spațiul de nume B<posix>, adică "
1302 "pentru a le apela utilizați B<posix.\\&funcția()>.\\& Această documentație "
1303 "se concentrează pe convențiile API Lua. Pentru informații suplimentare "
1304 "despre apelurile de sistem corespunzătoare, consultați manualul de sistem, "
1305 "de exemplu B<access>(3) pentru B<posix.\\&access()>.\\&"
1306
1307 #. type: Plain text
1308 #: archlinux debian-unstable fedora-44 fedora-rawhide
1309 msgid "B<access(>I<path> [, I<mode>]B<)>"
1310 msgstr "B<access(>I<rută> [, I<mod>]B<)>"
1311
1312 #. type: Plain text
1313 #: archlinux debian-unstable fedora-44 fedora-rawhide
1314 msgid ""
1315 "Test accessibility of file/directory I<path>.\\& See B<access>(3).\\& If "
1316 "I<mode> is omitted then existence is tested, otherwise it is a combination "
1317 "of the following tests:"
1318 msgstr ""
1319 "Testează accesibilitatea fișierului/directorului I<rută>.\\& A se vedea "
1320 "B<acces>(3).\\& Dacă I<mod> este omis, se testează existența, în caz contrar "
1321 "se efectuează o combinație dintre următoarele teste:"
1322
1323 #. type: Plain text
1324 #: archlinux debian-unstable fedora-44 fedora-rawhide
1325 msgid "B<r>: readable"
1326 msgstr "B<r>: poate fi citit"
1327
1328 #. type: Plain text
1329 #: archlinux debian-unstable fedora-44 fedora-rawhide
1330 msgid "B<w>: writable"
1331 msgstr "B<w>: poate fi scis"
1332
1333 #. type: Plain text
1334 #: archlinux debian-unstable fedora-44 fedora-rawhide
1335 msgid "B<x>: executable"
1336 msgstr "B<x>: este executabil"
1337
1338 #. type: Plain text
1339 #: archlinux debian-unstable fedora-44 fedora-rawhide
1340 msgid "B<f>: exists"
1341 msgstr "B<f>: există"
1342
1343 #. type: Plain text
1344 #: archlinux debian-unstable fedora-44 fedora-rawhide
1345 #, no-wrap
1346 msgid ""
1347 "if posix\\&.access(\\&'/bin/rpm\\&', \\&'x\\&') then\n"
1348 " \\&.\\&.\\&.\n"
1349 "end\n"
1350 msgstr ""
1351 "if posix\\&.access(\\&'/bin/rpm\\&', \\&'x\\&') then\n"
1352 " \\&.\\&.\\&.\n"
1353 "end\n"
1354
1355 #. type: Plain text
1356 #: archlinux debian-unstable fedora-44 fedora-rawhide
1357 msgid "B<chdir(>I<path>B<)>"
1358 msgstr "B<chdir(>I<rută>B<)>"
1359
1360 #. type: Plain text
1361 #: archlinux debian-unstable fedora-44 fedora-rawhide
1362 msgid "Change current working directory to I<path>.\\& See B<chdir>(1).\\&"
1363 msgstr ""
1364 "Schimbă directorul de lucru curent la I<rută>.\\& A se vedea B<chdir>(1).\\&"
1365
1366 #. type: Plain text
1367 #: archlinux debian-unstable fedora-44 fedora-rawhide
1368 #, no-wrap
1369 msgid "posix\\&.chdir(\\&'/tmp\\&')\n"
1370 msgstr "posix\\&.chdir(\\&'/tmp\\&')\n"
1371
1372 #. type: Plain text
1373 #: archlinux debian-unstable fedora-44 fedora-rawhide
1374 msgid "B<chmod(>I<path>, I<mode>B<)>"
1375 msgstr "B<chmod(>I<rută>, I<mod>B<)>"
1376
1377 #. type: Plain text
1378 #: archlinux debian-unstable fedora-44 fedora-rawhide
1379 msgid ""
1380 "Change file/directory mode.\\& Mode can be either an octal number as for "
1381 "B<chmod>(2) system call, or a string presentation similar to B<chmod>(1).\\&"
1382 msgstr ""
1383 "Modifică modul fișierului/directorului.\\& Modul poate fi fie un număr "
1384 "octal, ca în cazul apelului de sistem B<chmod>(2), fie o reprezentare sub "
1385 "formă de șir similară cu B<chmod>(1).\\&"
1386
1387 #. type: Plain text
1388 #: archlinux debian-unstable fedora-44 fedora-rawhide
1389 #, no-wrap
1390 msgid ""
1391 "posix\\&.chmod(\\&'aa\\&', 600)\n"
1392 "posix\\&.chmod(\\&'bb\\&', \\&'rw-\\&')\n"
1393 "posix\\&.chmod(\\&'cc\\&', \\&'u+x\\&')\n"
1394 msgstr ""
1395 "posix\\&.chmod(\\&'aa\\&', 600)\n"
1396 "posix\\&.chmod(\\&'bb\\&', \\&'rw-\\&')\n"
1397 "posix\\&.chmod(\\&'cc\\&', \\&'u+x\\&')\n"
1398
1399 #. type: Plain text
1400 #: archlinux debian-unstable fedora-44 fedora-rawhide
1401 msgid "B<chown(>I<path>, I<user>, I<group>B<)>"
1402 msgstr "B<chown(>I<rută>, I<utilizator>, I<grup>B<)>"
1403
1404 #. type: Plain text
1405 #: archlinux debian-unstable fedora-44 fedora-rawhide
1406 msgid ""
1407 "Change file/directory owner/group of I<path>.\\& The I<user> and I<group> "
1408 "arguments may be either numeric id values or user/groupnames.\\& See "
1409 "B<chown>(2) and B<chown>(1).\\&"
1410 msgstr ""
1411 "Modifică proprietarul/grupul fișierului/directorului I<rută>.\\& Argumentele "
1412 "I<utilizator> și I<grup> pot fi valori numerice de identificare sau nume de "
1413 "utilizator/grup.\\& A se vedea B<chown>(2) și B<chown>(1).\\&"
1414
1415 #. type: Plain text
1416 #: archlinux debian-unstable fedora-44 fedora-rawhide
1417 msgid "Note: This is a privileged operation.\\&"
1418 msgstr "Notă: Aceasta este o operație privilegiată.\\&"
1419
1420 #. type: Plain text
1421 #: archlinux debian-unstable fedora-44 fedora-rawhide
1422 #, no-wrap
1423 msgid ""
1424 "posix\\&.chown(\\&'aa\\&', 0, 0)\n"
1425 "posix\\&.chown(\\&'bb\\&', \\&'nobody\\&', \\&'nobody\\&')\n"
1426 msgstr ""
1427 "posix\\&.chown(\\&'aa\\&', 0, 0)\n"
1428 "posix\\&.chown(\\&'bb\\&', \\&'nobody\\&', \\&'nobody\\&')\n"
1429
1430 #. type: Plain text
1431 #: archlinux debian-unstable fedora-44 fedora-rawhide
1432 msgid "B<ctermid()>"
1433 msgstr "B<ctermid()>"
1434
1435 #. type: Plain text
1436 #: archlinux debian-unstable fedora-44 fedora-rawhide
1437 msgid "Get controlling terminal name.\\& See B<ctermid>(3).\\&"
1438 msgstr "Obține numele terminalului de control. Consultați B<ctermid>(3).\\&"
1439
1440 #. type: Plain text
1441 #: archlinux debian-unstable fedora-44 fedora-rawhide
1442 #, no-wrap
1443 msgid "print(posix\\&.ctermid())\n"
1444 msgstr "print(posix\\&.ctermid())\n"
1445
1446 #. type: Plain text
1447 #: archlinux debian-unstable fedora-44 fedora-rawhide
1448 msgid "B<dir(>[I<path>]B<)>"
1449 msgstr "B<dir(>[I<rută>]B<)>"
1450
1451 #. type: Plain text
1452 #: archlinux debian-unstable fedora-44 fedora-rawhide
1453 msgid ""
1454 "Get directory contents - like B<readdir>(3).\\& If I<path> is omitted, "
1455 "current directory is used.\\&"
1456 msgstr ""
1457 "Obține conținutul directorului - ca B<readdir>(3).\\& Dacă argumentul "
1458 "I<rută> este omis, se utilizează directorul curent.\\&"
1459
1460 #. type: Plain text
1461 #: archlinux debian-unstable fedora-44 fedora-rawhide
1462 #, no-wrap
1463 msgid ""
1464 "for i,p in pairs(posix\\&.dir(\\&'/\\&')) do\n"
1465 " print(p\\&.\\&.\\&'n\\&')\n"
1466 "end\n"
1467 msgstr ""
1468 "for i,p in pairs(posix\\&.dir(\\&'/\\&')) do\n"
1469 " print(p\\&.\\&.\\&'n\\&')\n"
1470 "end\n"
1471
1472 #. type: Plain text
1473 #: archlinux debian-unstable fedora-44 fedora-rawhide
1474 msgid "B<errno()>"
1475 msgstr "B<errno()>"
1476
1477 #. type: Plain text
1478 #: archlinux debian-unstable fedora-44 fedora-rawhide
1479 msgid ""
1480 "Get B<strerror>(3) message and the corresponding number for current "
1481 "B<errno>(3).\\&"
1482 msgstr ""
1483 "Obține mesajul B<strerror>(3) și numărul corespunzător pentru ieșirea "
1484 "B<errno>(3) curentă.\\&"
1485
1486 #. type: Plain text
1487 #: archlinux debian-unstable fedora-44 fedora-rawhide
1488 #, no-wrap
1489 msgid ""
1490 "f = \\&'/zzz\\&'\n"
1491 "if not posix\\&.chmod(f, 100) then\n"
1492 " s, n = posix\\&.errno()\n"
1493 " print(f, s)\n"
1494 "end\n"
1495 msgstr ""
1496 "f = \\&'/zzz\\&'\n"
1497 "if not posix\\&.chmod(f, 100) then\n"
1498 " s, n = posix\\&.errno()\n"
1499 " print(f, s)\n"
1500 "end\n"
1501
1502 #. type: Plain text
1503 #: archlinux debian-unstable fedora-44 fedora-rawhide
1504 msgid "B<exec(>I<path> [, I<args>.\\&.\\&.\\&]B<)> (OBSOLETE)"
1505 msgstr "B<exec(>I<rută> [, I<argumete>.\\&.\\&.\\&]B<)> (OBSOLETĂ)"
1506
1507 #. type: Plain text
1508 #: archlinux debian-unstable fedora-44 fedora-rawhide
1509 msgid ""
1510 "Execute a program.\\& This may only be performed after posix.\\&fork().\\&"
1511 msgstr ""
1512 "Execută un program.\\& Aceasta poate fi exectuată numai după posix.\\&fork()."
1513 "\\&"
1514
1515 #. type: Plain text
1516 #: archlinux debian-unstable fedora-44 fedora-rawhide
1517 msgid ""
1518 "This function is obsolete and only available for RPM v4 packages for "
1519 "backwards compatibility.\\& Use B<rpm.\\&spawn()> or B<rpm.\\&execute()> "
1520 "instead.\\&"
1521 msgstr ""
1522 "Această funcție este învechită și disponibilă numai pentru pachetele RPM v4, "
1523 "din motive de compatibilitate cu versiunile anterioare.\\& Utilizați în "
1524 "schimb B<rpm.\\&spawn()> sau B<rpm.\\&execute()>.\\&"
1525
1526 #. type: Plain text
1527 #: archlinux debian-unstable fedora-44 fedora-rawhide
1528 msgid "B<files(>[I<path>]B<)>"
1529 msgstr "B<files(>[I<rută>]B<)>"
1530
1531 #. type: Plain text
1532 #: archlinux debian-unstable fedora-44 fedora-rawhide
1533 msgid ""
1534 "Iterate over directory contents.\\& If path is omitted, current directory is "
1535 "used.\\&"
1536 msgstr ""
1537 "Iterare peste conținutul directorului.\\& Dacă ruta este omisă, se "
1538 "utilizează directorul curent.\\&"
1539
1540 #. type: Plain text
1541 #: archlinux debian-unstable fedora-44 fedora-rawhide
1542 #, no-wrap
1543 msgid ""
1544 "for f in posix\\&.files(\\&'/\\&') do\n"
1545 " print(f\\&.\\&.\\&'n\\&')\n"
1546 "end\n"
1547 msgstr ""
1548 "for f in posix\\&.files(\\&'/\\&') do\n"
1549 " print(f\\&.\\&.\\&'n\\&')\n"
1550 "end\n"
1551
1552 #. type: Plain text
1553 #: archlinux debian-unstable fedora-44 fedora-rawhide
1554 msgid "B<fork()> (OBSOLETE)"
1555 msgstr "B<fork()> (OBSOLETĂ)"
1556
1557 #. type: Plain text
1558 #: archlinux debian-unstable fedora-44 fedora-rawhide
1559 msgid "Fork a new process.\\& See B<fork>(2).\\&"
1560 msgstr ""
1561 "Bifurcă un nou proces (dintr-unul existent).\\& A se vedea B<fork>(2).\\&"
1562
1563 #. type: Plain text
1564 #: archlinux debian-unstable fedora-44 fedora-rawhide
1565 #, no-wrap
1566 msgid ""
1567 "pid = posix\\&.fork()\n"
1568 "if pid == 0 then\n"
1569 " posix\\&.exec(\\&'/foo/bar\\&')\n"
1570 "elseif pid E<gt> 0 then\n"
1571 " posix\\&.wait(pid)\n"
1572 "end\n"
1573 msgstr ""
1574 "pid = posix\\&.fork()\n"
1575 "if pid == 0 then\n"
1576 " posix\\&.exec(\\&'/foo/bar\\&')\n"
1577 "elseif pid E<gt> 0 then\n"
1578 " posix\\&.wait(pid)\n"
1579 "end\n"
1580
1581 #. type: Plain text
1582 #: archlinux debian-unstable fedora-44 fedora-rawhide
1583 msgid "B<getcwd()>"
1584 msgstr "B<getcwd()>"
1585
1586 #. type: Plain text
1587 #: archlinux debian-unstable fedora-44 fedora-rawhide
1588 msgid "Get current directory.\\& See B<getcwd>(3).\\&"
1589 msgstr "Obține directorul curent.\\& A se vedea B<getcwd>(3).\\&"
1590
1591 #. type: Plain text
1592 #: archlinux debian-unstable fedora-44 fedora-rawhide
1593 #, no-wrap
1594 msgid ""
1595 "if posix\\&.getcwd() ~= \\&'/\\&' then\n"
1596 " \\&.\\&.\\&.\n"
1597 "endif\n"
1598 msgstr ""
1599 "if posix\\&.getcwd() ~= \\&'/\\&' then\n"
1600 " \\&.\\&.\\&.\n"
1601 "endif\n"
1602
1603 #. type: Plain text
1604 #: archlinux debian-unstable fedora-44 fedora-rawhide
1605 msgid "B<getenv(>I<name>B<)>"
1606 msgstr "B<getenv(>I<nume>B<)>"
1607
1608 #. type: Plain text
1609 #: archlinux debian-unstable fedora-44 fedora-rawhide
1610 msgid "Get an environment variable.\\& See B<getenv>(3).\\&"
1611 msgstr "Obține o variabilă de mediu. Consultați B<getenv>(3).\\&"
1612
1613 #. type: Plain text
1614 #: archlinux debian-unstable fedora-44 fedora-rawhide
1615 #, no-wrap
1616 msgid ""
1617 "if posix\\&.getenv(\\&'HOME\\&') ~= posix\\&.getcwd() then\n"
1618 " print(\\&'not at home\\&')\n"
1619 "end\n"
1620 msgstr ""
1621 "if posix\\&.getenv(\\&'HOME\\&') ~= posix\\&.getcwd() then\n"
1622 " print(\\&'not at home\\&')\n"
1623 "end\n"
1624
1625 #. type: Plain text
1626 #: archlinux debian-unstable fedora-44 fedora-rawhide
1627 msgid "B<getgroup(>I<group>B<)>"
1628 msgstr "B<getgroup(>I<group>B<)>"
1629
1630 #. type: Plain text
1631 #: archlinux debian-unstable fedora-44 fedora-rawhide
1632 msgid ""
1633 "Get B<group>(5) information for a group.\\& I<group> may be either a numeric "
1634 "id or group name.\\& If omitted, current group is used.\\& Returns a table "
1635 "with fields B<name> and B<gid> set to group name and id respectively, and "
1636 "indexes from 1 onwards specifying group members.\\&"
1637 msgstr ""
1638 "Obține informații B<grup>(5) pentru un grup.\\& I<grup> poate fi fie un ID "
1639 "numeric, fie un nume de grup.\\& Dacă este omis, se utilizează grupul curent."
1640 "\\& Returnează un tabel cu câmpurile B<nume> și B<gid> definite ca nume și "
1641 "ID de grup, respectiv, și indexuri începând de la 1 care specifică membrii "
1642 "grupului.\\&"
1643
1644 #. type: Plain text
1645 #: archlinux debian-unstable fedora-44 fedora-rawhide
1646 #, no-wrap
1647 msgid "print(posix\\&.getgroup(\\&'wheel\\&')\\&.gid)\n"
1648 msgstr "print(posix\\&.getgroup(\\&'wheel\\&')\\&.gid)\n"
1649
1650 #. type: Plain text
1651 #: archlinux debian-unstable fedora-44 fedora-rawhide
1652 msgid "B<getlogin()>"
1653 msgstr "B<getlogin()>"
1654
1655 #. type: Plain text
1656 #: archlinux debian-unstable fedora-44 fedora-rawhide
1657 msgid "Get login name.\\& See B<getlogin>(3).\\&"
1658 msgstr "Obține numele de conectare.\\& A se vedea B<getlogin>(3).\\&"
1659
1660 #. type: Plain text
1661 #: archlinux debian-unstable fedora-44 fedora-rawhide
1662 #, no-wrap
1663 msgid "n = posix\\&.getlogin()\n"
1664 msgstr "n = posix\\&.getlogin()\n"
1665
1666 #. type: Plain text
1667 #: archlinux debian-unstable fedora-44 fedora-rawhide
1668 msgid "B<getpasswd>([I<user> [, I<selector>]]B<)>"
1669 msgstr "B<getpasswd>([I<utilizator> [, I<selector>]]B<)>"
1670
1671 #. type: Plain text
1672 #: archlinux debian-unstable fedora-44 fedora-rawhide
1673 msgid ""
1674 "Get B<passwd>(5) information for a user account.\\& I<user> may be either a "
1675 "numeric id or username.\\& If omitted, current user is used.\\& The optional "
1676 "I<selector> argument may be one of:"
1677 msgstr ""
1678 "Obține informații B<passwd>(5) pentru un cont de utilizator.\\& "
1679 "I<utilizator> poate fi fie un ID numeric, fie un nume de utilizator.\\& Dacă "
1680 "este omis, se utilizează utilizatorul curent.\\& Argumentul opțional "
1681 "I<selector> poate fi unul dintre următoarele:"
1682
1683 #. type: Plain text
1684 #: archlinux debian-unstable fedora-44 fedora-rawhide
1685 msgid "B<name>"
1686 msgstr "B<name>"
1687
1688 #. type: Plain text
1689 #: archlinux debian-unstable fedora-44 fedora-rawhide
1690 msgid "B<uid>"
1691 msgstr "B<uid>"
1692
1693 #. type: Plain text
1694 #: archlinux debian-unstable fedora-44 fedora-rawhide
1695 msgid "B<gid>"
1696 msgstr "B<gid>"
1697
1698 #. type: Plain text
1699 #: archlinux debian-unstable fedora-44 fedora-rawhide
1700 msgid "B<dir>"
1701 msgstr "B<dir>"
1702
1703 #. type: Plain text
1704 #: archlinux debian-unstable fedora-44 fedora-rawhide
1705 msgid "B<shell>"
1706 msgstr "B<shell>"
1707
1708 #. type: Plain text
1709 #: archlinux debian-unstable fedora-44 fedora-rawhide
1710 msgid "B<gecos>"
1711 msgstr "B<gecos>"
1712
1713 #. type: Plain text
1714 #: archlinux debian-unstable fedora-44 fedora-rawhide
1715 msgid "B<passwd>"
1716 msgstr "B<passwd>"
1717
1718 #. type: Plain text
1719 #: archlinux debian-unstable fedora-44 fedora-rawhide
1720 msgid "If omitted, a table with all these fields is returned.\\&"
1721 msgstr "Dacă este omis, se returnează un tabel cu toate aceste câmpuri.\\&"
1722
1723 #. type: Plain text
1724 #: archlinux debian-unstable fedora-44 fedora-rawhide
1725 #, no-wrap
1726 msgid "pw = posix\\&.getpasswd(posix\\&.getlogin(), \\&'shell\\&')|\n"
1727 msgstr "pw = posix\\&.getpasswd(posix\\&.getlogin(), \\&'shell\\&')|\n"
1728
1729 #. type: Plain text
1730 #: archlinux debian-unstable fedora-44 fedora-rawhide
1731 msgid "B<getprocessid(>[I<selector>]B<)>"
1732 msgstr "B<getprocessid(>[I<selector>]B<)>"
1733
1734 #. type: Plain text
1735 #: archlinux debian-unstable fedora-44 fedora-rawhide
1736 msgid ""
1737 "Get information about current process.\\& The optional I<selector> argument "
1738 "may be one of"
1739 msgstr ""
1740 "Obține informații despre procesul curent.\\& Argumentul opțional I<selector> "
1741 "poate fi unul dintre"
1742
1743 #. type: Plain text
1744 #: archlinux debian-unstable fedora-44 fedora-rawhide
1745 msgid "B<egid>: effective group id"
1746 msgstr "B<egid>: ID-ul grupului efectiv"
1747
1748 #. type: Plain text
1749 #: archlinux debian-unstable fedora-44 fedora-rawhide
1750 msgid "B<euid>: effective user id"
1751 msgstr "B<euid>: ID-ul utilizatorului efectiv"
1752
1753 #. type: Plain text
1754 #: archlinux debian-unstable fedora-44 fedora-rawhide
1755 msgid "B<gid>: group id"
1756 msgstr "B<gid>: ID-ul grupului"
1757
1758 #. type: Plain text
1759 #: archlinux debian-unstable fedora-44 fedora-rawhide
1760 msgid "B<uid>: user id"
1761 msgstr "B<uid>: ID-ul utilizatorului"
1762
1763 #. type: Plain text
1764 #: archlinux debian-unstable fedora-44 fedora-rawhide
1765 msgid "B<pgrp>: parent group id"
1766 msgstr "B<pgrp>: id-ul grupului părinte"
1767
1768 #. type: Plain text
1769 #: archlinux debian-unstable fedora-44 fedora-rawhide
1770 msgid "B<pid>: process id"
1771 msgstr "B<pid>: id-ul procesului"
1772
1773 #. type: Plain text
1774 #: archlinux debian-unstable fedora-44 fedora-rawhide
1775 msgid "B<ppid>: parent pid"
1776 msgstr "B<ppid>: pid-ul părinte"
1777
1778 #. type: Plain text
1779 #: archlinux debian-unstable fedora-44 fedora-rawhide
1780 #, no-wrap
1781 msgid ""
1782 "if posix\\&.getprocessid(\\&'pid\\&') == 1 then\n"
1783 " \\&.\\&.\\&.\n"
1784 "end\n"
1785 msgstr ""
1786 "if posix\\&.getprocessid(\\&'pid\\&') == 1 then\n"
1787 " \\&.\\&.\\&.\n"
1788 "end\n"
1789
1790 #. type: Plain text
1791 #: archlinux debian-unstable fedora-44 fedora-rawhide
1792 msgid "B<kill(>I<pid> [, I<signal>]B<)>"
1793 msgstr "B<kill(>I<pid> [, I<semnal>]B<)>"
1794
1795 #. type: Plain text
1796 #: archlinux debian-unstable fedora-44 fedora-rawhide
1797 msgid ""
1798 "Send a B<signal>(7) to a process.\\& I<signal> must be a numeric value, eg."
1799 "\\& B<9> for B<SIGKILL>.\\& If omitted, B<SIGTERM> is used.\\& See also "
1800 "B<kill>(2).\\&"
1801 msgstr ""
1802 "Trimite un B<semnal>(7) către un proces.\\& I<semnal> trebuie să fie o "
1803 "valoare numerică, de exemplu B<9> pentru B<SIGKILL>.\\& Dacă este omis, se "
1804 "utilizează B<SIGTERM>.\\& A se vedea de asemenea, B<kill>(2).\\&"
1805
1806 #. type: Plain text
1807 #: archlinux debian-unstable fedora-44 fedora-rawhide
1808 #, no-wrap
1809 msgid "posix\\&.kill(posix\\&.getprocessid(\\&'pid\\&'))\n"
1810 msgstr "posix\\&.kill(posix\\&.getprocessid(\\&'pid\\&'))\n"
1811
1812 #. type: Plain text
1813 #: archlinux debian-unstable fedora-44 fedora-rawhide
1814 msgid "B<link(>I<oldpath>, I<newpath>B<)>"
1815 msgstr "B<link(>I<ruta-veche>, I<ruta-nouă>B<)>"
1816
1817 #. type: Plain text
1818 #: archlinux debian-unstable fedora-44 fedora-rawhide
1819 msgid ""
1820 "Create a new name at I<newpath> for a file at I<oldpath>, aka hard link.\\& "
1821 "See also B<link>(2).\\&"
1822 msgstr ""
1823 "Creează un nou nume la I<ruta-nouă> pentru un fișier de la I<ruta-veche>, "
1824 "cunoscut și sub numele de legătură dură.\\& A se vedea de asemenea, "
1825 "B<link>(2).\\&"
1826
1827 #. type: Plain text
1828 #: archlinux debian-unstable fedora-44 fedora-rawhide
1829 #, no-wrap
1830 msgid ""
1831 "f = rpm\\&.open(\\&'aaa\\&', \\&'w\\&')\n"
1832 "posix\\&.link(\\&'aaa\\&', \\&'bbb\\&')\n"
1833 msgstr ""
1834 "f = rpm\\&.open(\\&'aaa\\&', \\&'w\\&')\n"
1835 "posix\\&.link(\\&'aaa\\&', \\&'bbb\\&')\n"
1836
1837 #. type: Plain text
1838 #: archlinux debian-unstable fedora-44 fedora-rawhide
1839 msgid "B<mkdir(>I<path>B<)>"
1840 msgstr "B<mkdir(>I<rută>B<)>"
1841
1842 #. type: Plain text
1843 #: archlinux debian-unstable fedora-44 fedora-rawhide
1844 msgid "Create a new directory at I<path>.\\& See also B<mkdir>(2).\\&"
1845 msgstr ""
1846 "Creează un nou director la I<rută>.\\& A se vedea de asemenea, B<mkdir>(2)."
1847 "\\&"
1848
1849 #. type: Plain text
1850 #: archlinux debian-unstable fedora-44 fedora-rawhide
1851 #, no-wrap
1852 msgid "posix\\&.mkdir(\\&'/tmp\\&')\n"
1853 msgstr "posix\\&.mkdir(\\&'/tmp\\&')\n"
1854
1855 #. type: Plain text
1856 #: archlinux debian-unstable fedora-44 fedora-rawhide
1857 msgid "B<mkfifo(>I<path>B<)>"
1858 msgstr "B<mkfifo(>I<rută>B<)>"
1859
1860 #. type: Plain text
1861 #: archlinux debian-unstable fedora-44 fedora-rawhide
1862 msgid "Create a FIFO aka named pipe at I<path>.\\& See also B<mkfifo>(2).\\&"
1863 msgstr ""
1864 "Creează o FIFO, adică o conductă cu nume, la I<rută>.\\& A se vedea de "
1865 "asemenea, B<mkfifo>(2).\\&"
1866
1867 #. type: Plain text
1868 #: archlinux debian-unstable fedora-44 fedora-rawhide
1869 #, no-wrap
1870 msgid "posix\\&.mkfifo(\\&'/tmp/badplace\\&')\n"
1871 msgstr "posix\\&.mkfifo(\\&'/tmp/loc-greșit\\&')\n"
1872
1873 #. type: Plain text
1874 #: archlinux debian-unstable fedora-44 fedora-rawhide
1875 msgid "B<pathconf(>I<path> [, I<selector>]B<)>"
1876 msgstr "B<pathconf(>I<rută> [, I<selector>]B<)>"
1877
1878 #. type: Plain text
1879 #: archlinux debian-unstable fedora-44 fedora-rawhide
1880 msgid ""
1881 "Get B<pathconf>(3) information for I<path>.\\& The optional I<selector> may "
1882 "be one of"
1883 msgstr ""
1884 "Obține informații B<pathconf>(3) pentru I<rută>.\\& Argumentul opțional "
1885 "I<selector> poate fi unul dintre următoarele"
1886
1887 #. type: Plain text
1888 #: archlinux debian-unstable fedora-44 fedora-rawhide
1889 msgid "B<link_max>"
1890 msgstr "B<link_max>"
1891
1892 #. type: Plain text
1893 #: archlinux debian-unstable fedora-44 fedora-rawhide
1894 msgid "B<max_canon>"
1895 msgstr "B<max_canon>"
1896
1897 #. type: Plain text
1898 #: archlinux debian-unstable fedora-44 fedora-rawhide
1899 msgid "B<max_input>"
1900 msgstr "B<max_input>"
1901
1902 #. type: Plain text
1903 #: archlinux debian-unstable fedora-44 fedora-rawhide
1904 msgid "B<name_max>"
1905 msgstr "B<name_max>"
1906
1907 #. type: Plain text
1908 #: archlinux debian-unstable fedora-44 fedora-rawhide
1909 msgid "B<path_max>"
1910 msgstr "B<path_max>"
1911
1912 #. type: Plain text
1913 #: archlinux debian-unstable fedora-44 fedora-rawhide
1914 msgid "B<pipe_buf>"
1915 msgstr "B<pipe_buf>"
1916
1917 #. type: Plain text
1918 #: archlinux debian-unstable fedora-44 fedora-rawhide
1919 msgid "B<chown_restricted>"
1920 msgstr "B<chown_restricted>"
1921
1922 #. type: Plain text
1923 #: archlinux debian-unstable fedora-44 fedora-rawhide
1924 msgid "B<no_trunc>"
1925 msgstr "B<no_trunc>"
1926
1927 #. type: Plain text
1928 #: archlinux debian-unstable fedora-44 fedora-rawhide
1929 msgid "B<vdisable>.\\&"
1930 msgstr "B<vdisable>.\\&"
1931
1932 #. type: Plain text
1933 #: archlinux debian-unstable fedora-44 fedora-rawhide
1934 #, no-wrap
1935 msgid "posix\\&.pathconf(\\&'/\\&', \\&'path_max\\&')\n"
1936 msgstr "posix\\&.pathconf(\\&'/\\&', \\&'path_max\\&')\n"
1937
1938 #. type: Plain text
1939 #: archlinux debian-unstable fedora-44 fedora-rawhide
1940 msgid "B<putenv(>I<string>B<)>"
1941 msgstr "B<putenv(>I<șir>B<)>"
1942
1943 #. type: Plain text
1944 #: archlinux debian-unstable fedora-44 fedora-rawhide
1945 msgid "Change or add an environment variable.\\& See also B<putenv>(3).\\&"
1946 msgstr ""
1947 "Modifică sau adaugă o variabilă de mediu.\\& A se vedea de asemenea, "
1948 "B<putenv>(3).\\&"
1949
1950 #. type: Plain text
1951 #: archlinux debian-unstable fedora-44 fedora-rawhide
1952 #, no-wrap
1953 msgid "posix\\&.putenv(\\&'HOME=/me\\&')\n"
1954 msgstr "posix\\&.putenv(\\&'HOME=/me\\&')\n"
1955
1956 #. type: Plain text
1957 #: archlinux debian-unstable fedora-44 fedora-rawhide
1958 msgid "B<readlink(>I<path>B<)>"
1959 msgstr "B<readlink(>I<rută>B<)>"
1960
1961 #. type: Plain text
1962 #: archlinux debian-unstable fedora-44 fedora-rawhide
1963 msgid ""
1964 "Read value of the symbolic link at I<path>.\\& See also B<readlink>(2).\\&"
1965 msgstr ""
1966 "Citește valoarea legăturii simbolice de la I<rută>.\\& A se vedea de "
1967 "asemenea, B<readlink>(2).\\&"
1968
1969 #. type: Plain text
1970 #: archlinux debian-unstable fedora-44 fedora-rawhide
1971 #, no-wrap
1972 msgid ""
1973 "posix\\&.mkdir(\\&'aaa\\&')\n"
1974 "posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n"
1975 "print(posix\\&.readlink(\\&'bbb\\&'))\n"
1976 msgstr ""
1977 "posix\\&.mkdir(\\&'aaa\\&')\n"
1978 "posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n"
1979 "print(posix\\&.readlink(\\&'bbb\\&'))\n"
1980
1981 #. type: Plain text
1982 #: archlinux debian-unstable fedora-44 fedora-rawhide
1983 msgid "B<rmdir(>I<path>B<)>"
1984 msgstr "B<rmdir(>I<rută>B<)>"
1985
1986 #. type: Plain text
1987 #: archlinux debian-unstable fedora-44 fedora-rawhide
1988 msgid "Remove a directory I<path>.\\& See also B<rmdir>(2).\\&"
1989 msgstr ""
1990 "Elimină un director I<rută>.\\& A se vedea de asemenea, B<rmdir>(2).\\&"
1991
1992 #. type: Plain text
1993 #: archlinux debian-unstable fedora-44 fedora-rawhide
1994 #, no-wrap
1995 msgid "posix\\&.rmdir(\\&'/tmp\\&')\n"
1996 msgstr "posix\\&.rmdir(\\&'/tmp\\&')\n"
1997
1998 #. type: Plain text
1999 #: archlinux debian-unstable fedora-44 fedora-rawhide
2000 msgid "B<setgid(>I<group>B<)>"
2001 msgstr "B<setgid(>I<grup>B<)>"
2002
2003 #. type: Plain text
2004 #: archlinux debian-unstable fedora-44 fedora-rawhide
2005 msgid ""
2006 "Set group identity.\\& I<group> may be specified either as a numeric id or "
2007 "group name.\\& See also B<setgid>(2).\\&"
2008 msgstr ""
2009 "Stabilește identitatea grupului.\\& I<grup> poate fi specificat fie ca un "
2010 "identificator numeric, fie ca nume de grup.\\& A se vedea de asemenea, "
2011 "B<setgid>(2).\\&"
2012
2013 #. type: Plain text
2014 #: archlinux debian-unstable fedora-44 fedora-rawhide
2015 msgid "B<setuid(>I<user>B<)>"
2016 msgstr "B<setuid(>I<utilizator>B<)>"
2017
2018 #. type: Plain text
2019 #: archlinux debian-unstable fedora-44 fedora-rawhide
2020 msgid ""
2021 "Set user identity.\\& I<user> may be specified either as a numeric id or "
2022 "username.\\& See also B<setuid>(2).\\&"
2023 msgstr ""
2024 "Stabilește identitatea utilizatorului.& I<utilizator> poate fi specificat "
2025 "fie ca un ID numeric, fie ca nume de utilizator.& A se vedea de asemenea, "
2026 "B<setuid>(2).&"
2027
2028 #. type: Plain text
2029 #: archlinux debian-unstable fedora-44 fedora-rawhide
2030 #, no-wrap
2031 msgid "posix\\&.setuid(\\&'nobody\\&')\n"
2032 msgstr "posix\\&.setuid(\\&'nobody\\&')\n"
2033
2034 #. type: Plain text
2035 #: archlinux debian-unstable fedora-44 fedora-rawhide
2036 msgid "B<sleep(>I<seconds>B<)>"
2037 msgstr "B<sleep(>I<secunde>B<)>"
2038
2039 #. type: Plain text
2040 #: archlinux debian-unstable fedora-44 fedora-rawhide
2041 msgid "Sleep for the duration of I<seconds>.\\& See also B<sleep>(3).\\&"
2042 msgstr ""
2043 "Adoarme pentru o durată de I<secunde>.\\& A se vedea de asemenea, "
2044 "B<sleep>(3).\\&"
2045
2046 #. type: Plain text
2047 #: archlinux debian-unstable fedora-44 fedora-rawhide
2048 #, no-wrap
2049 msgid "posix\\&.sleep(5)\n"
2050 msgstr "posix\\&.sleep(5)\n"
2051
2052 #. type: Plain text
2053 #: archlinux debian-unstable fedora-44 fedora-rawhide
2054 msgid "B<stat(>I<path> [, I<selector>]B<)>"
2055 msgstr "B<stat(>I<rută> [, I<selector>]B<)>"
2056
2057 #. type: Plain text
2058 #: archlinux debian-unstable fedora-44 fedora-rawhide
2059 msgid ""
2060 "Get file B<stat>(3) information about a file at I<path>.\\& The optional "
2061 "I<selector> may be one of"
2062 msgstr ""
2063 "Obține informații despre fișierul B<stat>(3) din I<rută>.\\& Selectorul "
2064 "opțional I<selector> poate fi unul dintre următoarele"
2065
2066 #. type: Plain text
2067 #: archlinux debian-unstable fedora-44 fedora-rawhide
2068 msgid "B<mode>"
2069 msgstr "B<mode>"
2070
2071 #. type: Plain text
2072 #: archlinux debian-unstable fedora-44 fedora-rawhide
2073 msgid "B<ino>"
2074 msgstr "B<ino>"
2075
2076 #. type: Plain text
2077 #: archlinux debian-unstable fedora-44 fedora-rawhide
2078 msgid "B<dev>"
2079 msgstr "B<dev>"
2080
2081 #. type: Plain text
2082 #: archlinux debian-unstable fedora-44 fedora-rawhide
2083 msgid "B<nlink>"
2084 msgstr "B<nlink>"
2085
2086 #. type: Plain text
2087 #: archlinux debian-unstable fedora-44 fedora-rawhide
2088 msgid "B<size>"
2089 msgstr "B<size>"
2090
2091 #. type: Plain text
2092 #: archlinux debian-unstable fedora-44 fedora-rawhide
2093 msgid "B<atime>"
2094 msgstr "B<atime>"
2095
2096 #. type: Plain text
2097 #: archlinux debian-unstable fedora-44 fedora-rawhide
2098 msgid "B<mtime>"
2099 msgstr "B<mtime>"
2100
2101 #. type: Plain text
2102 #: archlinux debian-unstable fedora-44 fedora-rawhide
2103 msgid "B<ctime>"
2104 msgstr "B<ctime>"
2105
2106 #. type: Plain text
2107 #: archlinux debian-unstable fedora-44 fedora-rawhide
2108 msgid "B<type>.\\&"
2109 msgstr "B<type>.\\&"
2110
2111 #. type: Plain text
2112 #: archlinux debian-unstable fedora-44 fedora-rawhide
2113 #, no-wrap
2114 msgid "print(posix\\&.stat(\\&'/tmp\\&', \\&'mode\\&'))|\n"
2115 msgstr "print(posix\\&.stat(\\&'/tmp\\&', \\&'mode\\&'))|\n"
2116
2117 #. type: Plain text
2118 #: archlinux debian-unstable fedora-44 fedora-rawhide
2119 #, no-wrap
2120 msgid ""
2121 "s1 = posix\\&.stat(\\&'f1\\&')\n"
2122 "s2 = posix\\&.stat(\\&'f2\\&')\n"
2123 "if s1\\&.ino == s2\\&.ino and s1\\&.dev == s2\\&.dev then\n"
2124 " \\&.\\&.\\&.\n"
2125 "end\n"
2126 msgstr ""
2127 "s1 = posix\\&.stat(\\&'f1\\&')\n"
2128 "s2 = posix\\&.stat(\\&'f2\\&')\n"
2129 "if s1\\&.ino == s2\\&.ino and s1\\&.dev == s2\\&.dev then\n"
2130 " \\&.\\&.\\&.\n"
2131 "end\n"
2132
2133 #. type: Plain text
2134 #: archlinux debian-unstable fedora-44 fedora-rawhide
2135 msgid "B<symlink(>I<oldpath>, I<newpath>B<)>"
2136 msgstr "B<ssymlink(>I<ruta-veche>, I<ruta-nouă>B<)>"
2137
2138 #. type: Plain text
2139 #: archlinux debian-unstable fedora-44 fedora-rawhide
2140 msgid ""
2141 "Create a symbolic link at I<newpath> to I<oldpath>.\\& See also "
2142 "B<symlink>(2).\\&"
2143 msgstr ""
2144 "Creează o legătură simbolică la I<ruta-nouă> către I<ruta-veche>.\\& A se "
2145 "vedea de asemenea, B<symlink>(2).\\&"
2146
2147 #. type: Plain text
2148 #: archlinux debian-unstable fedora-44 fedora-rawhide
2149 #, no-wrap
2150 msgid ""
2151 "posix\\&.mkdir(\\&'aaa\\&')\n"
2152 "posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n"
2153 msgstr ""
2154 "posix\\&.mkdir(\\&'aaa\\&')\n"
2155 "posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n"
2156
2157 #. type: Plain text
2158 #: archlinux debian-unstable fedora-44 fedora-rawhide
2159 msgid "B<sysconf(>[I<selector>]B<)>"
2160 msgstr "B<sysconf(>[I<selector>]B<)>"
2161
2162 #. type: Plain text
2163 #: archlinux debian-unstable fedora-44 fedora-rawhide
2164 msgid ""
2165 "Get B<sysconf>(3) information.\\& The optional I<selector> argument may be "
2166 "one of:"
2167 msgstr ""
2168 "Obține informații B<sysconf>(3). Argumentul opțional I<selector> poate fi "
2169 "unul dintre următoarele:"
2170
2171 #. type: Plain text
2172 #: archlinux debian-unstable fedora-44 fedora-rawhide
2173 msgid "B<arg_max>"
2174 msgstr "B<arg_max>"
2175
2176 #. type: Plain text
2177 #: archlinux debian-unstable fedora-44 fedora-rawhide
2178 msgid "B<child_max>"
2179 msgstr "B<child_max>"
2180
2181 #. type: Plain text
2182 #: archlinux debian-unstable fedora-44 fedora-rawhide
2183 msgid "B<clk_tck>"
2184 msgstr "B<clk_tck>"
2185
2186 #. type: Plain text
2187 #: archlinux debian-unstable fedora-44 fedora-rawhide
2188 msgid "B<ngroups_max>"
2189 msgstr "B<ngroups_max>"
2190
2191 #. type: Plain text
2192 #: archlinux debian-unstable fedora-44 fedora-rawhide
2193 msgid "B<stream_max>"
2194 msgstr "B<stream_max>"
2195
2196 #. type: Plain text
2197 #: archlinux debian-unstable fedora-44 fedora-rawhide
2198 msgid "B<tzname_max>"
2199 msgstr "B<tzname_max>"
2200
2201 #. type: Plain text
2202 #: archlinux debian-unstable fedora-44 fedora-rawhide
2203 msgid "B<open_max>"
2204 msgstr "B<open_max>"
2205
2206 #. type: Plain text
2207 #: archlinux debian-unstable fedora-44 fedora-rawhide
2208 msgid "B<job_control>"
2209 msgstr "B<job_control>"
2210
2211 #. type: Plain text
2212 #: archlinux debian-unstable fedora-44 fedora-rawhide
2213 msgid "B<saved_ids>"
2214 msgstr "B<saved_ids>"
2215
2216 #. type: Plain text
2217 #: archlinux debian-unstable fedora-44 fedora-rawhide
2218 msgid "B<version>.\\&"
2219 msgstr "B<version>.\\&"
2220
2221 #. type: Plain text
2222 #: archlinux debian-unstable fedora-44 fedora-rawhide
2223 #, no-wrap
2224 msgid "posix\\&.sysconf(\\&'open_max\\&')|\n"
2225 msgstr "posix\\&.sysconf(\\&'open_max\\&')|\n"
2226
2227 #. type: Plain text
2228 #: archlinux debian-unstable fedora-44 fedora-rawhide
2229 msgid "B<times(>[I<selector>]B<)>"
2230 msgstr "B<times(>[I<selector>]B<)>"
2231
2232 #. type: Plain text
2233 #: archlinux debian-unstable fedora-44 fedora-rawhide
2234 msgid ""
2235 "Get process and waited-for child process B<times>(2).\\& The optional "
2236 "I<selector> argument may be one of"
2237 msgstr ""
2238 "Obține procesul și procesul-copil așteptat B<times>(2).\\& Argumentul "
2239 "opțional I<selector> poate fi unul dintre"
2240
2241 #. type: Plain text
2242 #: archlinux debian-unstable fedora-44 fedora-rawhide
2243 msgid "B<utime>"
2244 msgstr "B<utime>"
2245
2246 #. type: Plain text
2247 #: archlinux debian-unstable fedora-44 fedora-rawhide
2248 msgid "B<stime>"
2249 msgstr "B<stime>"
2250
2251 #. type: Plain text
2252 #: archlinux debian-unstable fedora-44 fedora-rawhide
2253 msgid "B<cutime>"
2254 msgstr "B<cutime>"
2255
2256 #. type: Plain text
2257 #: archlinux debian-unstable fedora-44 fedora-rawhide
2258 msgid "B<cstime>"
2259 msgstr "B<cstime>"
2260
2261 #. type: Plain text
2262 #: archlinux debian-unstable fedora-44 fedora-rawhide
2263 msgid "B<elapsed>"
2264 msgstr "B<elapsed>"
2265
2266 #. type: Plain text
2267 #: archlinux debian-unstable fedora-44 fedora-rawhide
2268 #, no-wrap
2269 msgid ""
2270 "t = posix\\&.times()\n"
2271 "print(t\\&.utime, t\\&.stime)\n"
2272 msgstr ""
2273 "t = posix\\&.times()\n"
2274 "print(t\\&.utime, t\\&.stime)\n"
2275
2276 #. type: Plain text
2277 #: archlinux debian-unstable fedora-44 fedora-rawhide
2278 msgid "B<ttyname(>[I<fd>]B<)>"
2279 msgstr "B<ttyname(>[I<fd>]B<)>"
2280
2281 #. type: Plain text
2282 #: archlinux debian-unstable fedora-44 fedora-rawhide
2283 msgid ""
2284 "Get name of a terminal associated with file descriptor I<fd>.\\& If I<fd> is "
2285 "omitted, B<0> (aka standard input) is used.\\& See B<ttyname>(3).\\&"
2286 msgstr ""
2287 "Obține numele unui terminal asociat cu descriptorul de fișier I<fd>.\\& Dacă "
2288 "I<fd> este omis, se utilizează B<0> (cunoscut și sub numele de intrarea "
2289 "standard).\\& A se vedea B<ttyname>(3).\\&"
2290
2291 #. type: Plain text
2292 #: archlinux debian-unstable fedora-44 fedora-rawhide
2293 #, no-wrap
2294 msgid ""
2295 "if not posix\\&.ttyname() then\n"
2296 " \\&.\\&.\\&.\n"
2297 "endif\n"
2298 msgstr ""
2299 "if not posix\\&.ttyname() then\n"
2300 " \\&.\\&.\\&.\n"
2301 "endif\n"
2302
2303 #. type: Plain text
2304 #: archlinux debian-unstable fedora-44 fedora-rawhide
2305 msgid "B<umask(>[I<mode>]B<)>"
2306 msgstr "B<umask(>[I<mod>]B<)>"
2307
2308 #. type: Plain text
2309 #: archlinux debian-unstable fedora-44 fedora-rawhide
2310 msgid ""
2311 "Get or set process B<umask>(2).\\& I<mode> may be specified as an octal "
2312 "number or mode string similarly to B<posix.\\&chmod()>.\\&"
2313 msgstr ""
2314 "Obține sau definește procesul B<umask>(2).\\& I<mod> poate fi specificat ca "
2315 "număr octal sau șir de moduri similar cu B<posix.\\&chmod()>.\\&"
2316
2317 #. type: Plain text
2318 #: archlinux debian-unstable fedora-44 fedora-rawhide
2319 #, no-wrap
2320 msgid ""
2321 "print(posix\\&.umask())\n"
2322 "posix\\&.umask(222)\n"
2323 "posix\\&.umask(\\&'ug-w\\&')\n"
2324 "posix\\&.umask(\\&'rw-rw-r--\\&')\n"
2325 msgstr ""
2326 "print(posix\\&.umask())\n"
2327 "posix\\&.umask(222)\n"
2328 "posix\\&.umask(\\&'ug-w\\&')\n"
2329 "posix\\&.umask(\\&'rw-rw-r--\\&')\n"
2330
2331 #. type: Plain text
2332 #: archlinux debian-unstable fedora-44 fedora-rawhide
2333 msgid "B<uname(>I<format>B<)>"
2334 msgstr "B<uname(>I<format>B<)>"
2335
2336 #. type: Plain text
2337 #: archlinux debian-unstable fedora-44 fedora-rawhide
2338 msgid ""
2339 "Get B<uname>(2) information about the current system.\\& The following "
2340 "format directives are supported:"
2341 msgstr ""
2342 "Obține informații B<uname>(2) despre sistemul curent.\\& Sunt acceptate "
2343 "următoarele directive de format:"
2344
2345 #. type: Plain text
2346 #: archlinux debian-unstable fedora-44 fedora-rawhide
2347 msgid "B<%m>: Name of the hardware type"
2348 msgstr "B<%m>: Numele tipului de hardware"
2349
2350 #. type: Plain text
2351 #: archlinux debian-unstable fedora-44 fedora-rawhide
2352 msgid "B<%n>: Name of this node"
2353 msgstr "B<%n>: Numele acestui nod (mașini)"
2354
2355 #. type: Plain text
2356 #: archlinux debian-unstable fedora-44 fedora-rawhide
2357 msgid "B<%r>: Current release level of this implementation"
2358 msgstr "B<%r>: Nivelul actual de lansare al acestei implementări"
2359
2360 #. type: Plain text
2361 #: archlinux debian-unstable fedora-44 fedora-rawhide
2362 msgid "B<%s>: Name of this operation system"
2363 msgstr "B<%s>: Numele acestui sistem de operare"
2364
2365 #. type: Plain text
2366 #: archlinux debian-unstable fedora-44 fedora-rawhide
2367 msgid "B<%v>: Current version level of this implementation"
2368 msgstr "B<%v>: Nivelul actual al versiunii acestei implementări"
2369
2370 #. type: Plain text
2371 #: archlinux debian-unstable fedora-44 fedora-rawhide
2372 #, no-wrap
2373 msgid "print(posix\\&.uname(\\&'%s %r\\&'))\n"
2374 msgstr "print(posix\\&.uname(\\&'%s %r\\&'))\n"
2375
2376 #. type: Plain text
2377 #: archlinux debian-unstable fedora-44 fedora-rawhide
2378 msgid "B<utime(>I<path> [, I<mtime> [, I<ctime>]]B<)>"
2379 msgstr "B<utime(>I<rută> [, I<mtime> [, I<ctime>]]B<)>"
2380
2381 #. type: Plain text
2382 #: archlinux debian-unstable fedora-44 fedora-rawhide
2383 msgid ""
2384 "Change last access and modification times.\\& mtime and ctime are expressed "
2385 "seconds since epoch.\\& See B<utime>(2).\\&"
2386 msgstr ""
2387 "Modifică ora ultimei accesări și modificări. mtime și ctime sunt exprimate "
2388 "în secunde de la epocă. A se vedea B<utime>(2).\\&"
2389
2390 #. type: Plain text
2391 #: archlinux debian-unstable fedora-44 fedora-rawhide
2392 msgid ""
2393 "If I<mtime> or I<ctime> are omitted, current time is used, similar to "
2394 "B<touch>(1).\\&"
2395 msgstr ""
2396 "Dacă I<mtime> sau I<ctime> sunt omise, se utilizează ora curentă, similar cu "
2397 "B<touch>(1).\\&"
2398
2399 #. type: Plain text
2400 #: archlinux debian-unstable fedora-44 fedora-rawhide
2401 #, no-wrap
2402 msgid ""
2403 "posix\\&.mkdir(\\&'aaa\\&')\n"
2404 "posix\\&.utime(\\&'aaa\\&', 0, 0)\n"
2405 msgstr ""
2406 "posix\\&.mkdir(\\&'aaa\\&')\n"
2407 "posix\\&.utime(\\&'aaa\\&', 0, 0)\n"
2408
2409 #. type: Plain text
2410 #: archlinux debian-unstable fedora-44 fedora-rawhide
2411 msgid "B<wait(>[I<pid>]B<)> (DEPRECATED)"
2412 msgstr "B<wait(>[I<pid>]B<)> (DEPRECIATĂ)"
2413
2414 #. type: Plain text
2415 #: archlinux debian-unstable fedora-44 fedora-rawhide
2416 msgid ""
2417 "Wait for a child process.\\& If I<pid> is specified wait for that particular "
2418 "child.\\& See also B<wait>(2).\\&"
2419 msgstr ""
2420 "Așteaptă un proces-copil.\\& Dacă este specificat I<pid>, așteaptă acel "
2421 "proces-copil particular. A se vedea de asemenea, B<wait>(2).\\&"
2422
2423 #. type: Plain text
2424 #: archlinux debian-unstable fedora-44 fedora-rawhide
2425 #, no-wrap
2426 msgid ""
2427 "pid = posix\\&.fork()\n"
2428 "if pid == 0 then\n"
2429 " posix\\&.exec(\\&'/bin/ls\\&'))\n"
2430 "elseif pid E<gt> 0 then\n"
2431 " posix\\&.wait(pid)\n"
2432 "end\n"
2433 msgstr ""
2434 "pid = posix\\&.fork()\n"
2435 "if pid == 0 then\n"
2436 " posix\\&.exec(\\&'/bin/ls\\&'))\n"
2437 "elseif pid E<gt> 0 then\n"
2438 " posix\\&.wait(pid)\n"
2439 "end\n"
2440
2441 #. type: Plain text
2442 #: archlinux debian-unstable fedora-44 fedora-rawhide
2443 msgid "B<setenv(>I<name>, I<value> [, I<overwrite>]B<)>"
2444 msgstr "B<setenv(>I<nume>, I<valoare> [, I<înlocuirea>]B<)>"
2445
2446 #. type: Plain text
2447 #: archlinux debian-unstable fedora-44 fedora-rawhide
2448 msgid ""
2449 "Change or add environment variable I<name>.\\& The optional I<overwrite> is "
2450 "a boolean which defines behavior when a variable by the same name already "
2451 "exists.\\& See also B<setenv>(3).\\&"
2452 msgstr ""
2453 "Modifică sau adaugă variabila de mediu I<nume>.\\& Parametrul opțional "
2454 "I<înlocuirea> este o valoare booleană care definește comportamentul atunci "
2455 "când există deja o variabilă cu același nume.\\& A se vedea de asemenea, "
2456 "B<setenv>(3).\\&"
2457
2458 #. type: Plain text
2459 #: archlinux debian-unstable fedora-44 fedora-rawhide
2460 #, no-wrap
2461 msgid "posix\\&.setenv(\\&'HOME\\&', \\&'/me\\&', true)\n"
2462 msgstr "posix\\&.setenv(\\&'HOME\\&', \\&'/me\\&', true)\n"
2463
2464 #. type: Plain text
2465 #: archlinux debian-unstable fedora-44 fedora-rawhide
2466 msgid "B<unsetenv(>I<name>B<)>"
2467 msgstr "B<unsetenv(>I<nume>B<)>"
2468
2469 #. type: Plain text
2470 #: archlinux debian-unstable fedora-44 fedora-rawhide
2471 msgid ""
2472 "Remove a variable I<name> from environment.\\& See also B<unsetenv>(3).\\&"
2473 msgstr ""
2474 "Elimină variabila I<nume> din mediu.\\& A se vedea de asemenea, "
2475 "B<unsetenv>(3).\\&"
2476
2477 #. type: Plain text
2478 #: archlinux debian-unstable fedora-44 fedora-rawhide
2479 #, no-wrap
2480 msgid "posix\\&.unsetenv(\\&'HOME\\&')\n"
2481 msgstr "posix\\&.unsetenv(\\&'HOME\\&')\n"
2482
2483 #. type: SH
2484 #: archlinux debian-unstable fedora-44 fedora-rawhide
2485 #, no-wrap
2486 msgid "EXTENDING AND CUSTOMIZING"
2487 msgstr "EXTINDEREA ȘI PERSONALIZAREA"
2488
2489 #. type: Plain text
2490 #: archlinux debian-unstable fedora-44 fedora-rawhide
2491 msgid ""
2492 "On initialization, RPM executes a global I<init.\\&lua> Lua initialization "
2493 "script from the directory B<%getconfdir> expands to, typically I</usr/lib/"
2494 "rpm/init.\\&lua>.\\& This can be used to customize the rpm Lua environment "
2495 "without recompiling RPM.\\&"
2496 msgstr ""
2497 "La inițializare, RPM execută un script global de inițializare Lua I<init."
2498 "\\&lua> din directorul B<%getconfdir>, de obicei I</usr/lib/rpm/init.\\&lua>."
2499 "\\& Acesta poate fi utilizat pentru a personaliza mediul Lua rpm fără a "
2500 "recompila RPM.\\&"
2501
2502 #. type: Plain text
2503 #: archlinux debian-unstable fedora-44 fedora-rawhide
2504 msgid ""
2505 "For the embedded Lua interpreter, module'\\&s loaded with B<require> are "
2506 "primarily searched from B<%{getconfdir}/lua/>.\\& B<%_rpmluadir> is a "
2507 "shorthand for this path.\\&"
2508 msgstr ""
2509 "Pentru interpretul Lua încorporat, modulele încărcate cu B<require> sunt "
2510 "căutate în primul rând în B<%{getconfdir}/lua/>. B<%_rpmluadir> este o "
2511 "prescurtare pentru această rută.\\&"
2512
2513 #. type: SH
2514 #: archlinux debian-unstable fedora-44 fedora-rawhide
2515 #, no-wrap
2516 msgid "SEE ALSO"
2517 msgstr "CONSULTAȚI ȘI"
2518
2519 #. type: Plain text
2520 #: archlinux debian-unstable fedora-44 fedora-rawhide
2521 msgid "B<rpm-macros>(7) B<rpm-payloadflags>(7) B<rpmlua>(1) B<rpm-version>(7)"
2522 msgstr "B<rpm-macros>(7) B<rpm-payloadflags>(7) B<rpmlua>(1) B<rpm-version>(7)"
2523
2524 #. type: Plain text
2525 #: archlinux debian-unstable fedora-44 fedora-rawhide
2526 msgid "B<https://www.\\&lua.\\&org/>"
2527 msgstr "B<https://www.\\&lua.\\&org/>"
2528
2529 #. type: TH
2530 #: debian-unstable
2531 #, no-wrap
2532 msgid "2026-04-10"
2533 msgstr "10 aprilie 2026"
2534
2535 #. type: TH
2536 #: fedora-44
2537 #, no-wrap
2538 msgid "2026-01-17"
2539 msgstr "17 ianuarie 2026"
2540
2541 #. type: TH
2542 #: fedora-rawhide
2543 #, no-wrap
2544 msgid "2026-02-16"
2545 msgstr "16 februarie 2026"