Debian Codegraph @

po/ro/man1/lesspipe.1.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]>, 2024, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.22.0\n"
8 "POT-Creation-Date: 2026-06-05 06:29+0200\n"
9 "PO-Revision-Date: 2026-06-07 00:53+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.8\n"
19
20 #. type: TH
21 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
22 #, no-wrap
23 msgid "LESSPIPE.SH"
24 msgstr "LESSPIPE.SH"
25
26 #. type: TH
27 #: archlinux fedora-rawhide
28 #, no-wrap
29 msgid "April 2026"
30 msgstr "aprilie 2026"
31
32 #. type: TH
33 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
34 #, no-wrap
35 msgid "lesspipe.sh"
36 msgstr "lesspipe.sh"
37
38 #. type: TH
39 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
40 #, no-wrap
41 msgid "User Commands"
42 msgstr "Comenzi utilizator"
43
44 #. type: SH
45 #. NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
46 #. other parms are allowed: see man(7), man(1)
47 #. type: SH
48 #. NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
49 #. other parms are allowed: see man(7), man(1)
50 #. type: SH
51 #. type: SH
52 #. type: SH
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NUME"
59
60 #. type: Plain text
61 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
62 msgid "lesspipe.sh - a filter for less"
63 msgstr "lesspipe.sh - un filtru pentru less"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "SINOPSIS"
71
72 #. type: Plain text
73 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
74 msgid "B<lesspipe.sh> [I<FILE[s]>]..."
75 msgstr "B<lesspipe.sh> [I<FIȘIER[e]>]..."
76
77 #. type: SH
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron
80 #, no-wrap
81 msgid "DESCRIPTION"
82 msgstr "DESCRIERE"
83
84 #. type: Plain text
85 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
86 msgid ""
87 "The aim of B<lesspipe.sh> is to enhance the output of B<less>. The choice of "
88 "the rules to be applied to modify the output are based on the file "
89 "contents. The file extension is respected only as a last resort. Usually "
90 "B<lesspipe.sh> is called as an input filter to B<less>."
91 msgstr ""
92 "Scopul lui B<lesspipe.sh> este de a îmbunătăți rezultatul lui B<less>. "
93 "Alegerea regulilor care urmează să fie aplicate pentru a modifica rezultatul "
94 "se bazează pe conținutul fișierului. Extensia fișierului este respectată "
95 "doar în ultimă instanță. De obicei, B<lesspipe.sh> este apelat ca un filtru "
96 "de intrare pentru B<less>."
97
98 #. type: Plain text
99 #: archlinux fedora-44 fedora-rawhide
100 msgid ""
101 "With the help of that filter B<less> will display the uncompressed contents "
102 "of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma, zlib or "
103 "brotli>) files. For files containing archives and directories, a table of "
104 "contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb "
105 "ms-cabinet, iso, dmg, appimage and snap formats>). Many other files will be "
106 "reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and "
107 "Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> "
108 "and I<media (image, audio and video)> formats. This does require helper "
109 "programs being installed."
110 msgstr ""
111 "Cu ajutorul acestui filtru, B<less> va afișa conținutul necomprimat al "
112 "fișierelor comprimate (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma, "
113 "zlib sau brotli>). Pentru fișierele care conțin arhive și directoare (de "
114 "exemplu, formatele I<tar>, I<ar>, I<zip>, I<7-zip>, I<rar>, I<jar>, I<cpio>, "
115 "I<rpm>, I<deb>, I<ms-cabinet>, I<iso>, I<dmg>, I<appimage> și I<snap>), se "
116 "va afișa un tabel de conținut. Multe alte fișiere vor fi reformatate pentru "
117 "afișare. Sunt incluse formatele I<pdf, dvi, markdown, suite Office (MS și "
118 "Openoffice)>, I<NetCDF, matlab, device tree blob, html> și I<media (imagine, "
119 "audio și video)>. Acesta necesită instalarea unor programe ajutătoare."
120
121 #. type: Plain text
122 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
123 msgid ""
124 "The filter can also be applied recursively to extract and display files in "
125 "archives on the fly. This works to a depth of 6 where applying a "
126 "decompression algorithm counts as a separate level."
127 msgstr ""
128 "De asemenea, filtrul poate fi aplicat în mod recursiv pentru a extrage și "
129 "afișa din mers fișierele din arhive. Acest lucru funcționează până la o "
130 "adâncime de 6, unde aplicarea unui algoritm de decomprimare contează ca un "
131 "nivel separat."
132
133 #. type: Plain text
134 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
135 msgid ""
136 "If the file utility reports text with an encoding different from the one "
137 "used in the terminal then the text will be transformed using I<iconv> into "
138 "the default encoding. This does assume the I<file> command gets the file "
139 "encoding right, which can be wrong in some situations. An appended colon to "
140 "the file name does suppress the conversion."
141 msgstr ""
142 "Dacă instrumentuI<file> raportează un text cu o codificare diferită de cea "
143 "utilizată în terminal, atunci textul va fi transformat folosind I<iconv> în "
144 "codificarea implicită. Acest lucru presupune că instrumentul I<file> obține "
145 "codificarea corectă a fișierului, ceea ce poate fi greșit în anumite "
146 "situații. Dacă se adaugă două puncte „:” la numele fișierului, conversia "
147 "este suprimată."
148
149 #. type: Plain text
150 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
151 msgid ""
152 "When using the programs B<git>, B<vim> or B<mutt> they can be enabled to "
153 "read non-text files by using lesspipe.sh. That is described in the Wiki at "
154 "I<https://github.com/wofr06/lesspipe/wiki>."
155 msgstr ""
156 "Atunci când se utilizează programele B<git>, B<vim> sau B<mutt>, acestea pot "
157 "fi activate pentru a citi fișiere care nu sunt de tip text, utilizând "
158 "lesspipe.sh. Acest lucru este descris în Wiki la adresa I<https://github.com/"
159 "wofr06/lesspipe/wiki>."
160
161 #. type: SH
162 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
163 #, no-wrap
164 msgid "FILTER ACTIVATION"
165 msgstr "ACTIVAREA FILTRULUI"
166
167 #. type: Plain text
168 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
169 msgid ""
170 "The filter is called from B<less> provided the environment variable "
171 "B<LESSOPEN> is set properly. For ksh like shells (I<bash, zsh>) the command"
172 msgstr ""
173 "Filtrul este apelat din B<less> cu condiția ca variabila de mediu "
174 "B<LESSOPEN> să fie definită corespunzător. În cazul shell-urilor de tip ksh "
175 "(I<bash, zsh>), comanda"
176
177 #. type: Plain text
178 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
179 msgid "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>"
180 msgstr "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>"
181
182 #. type: Plain text
183 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
184 msgid ""
185 "does activate the filter for less. Use the fully qualified path, if "
186 "B<lesspipe.sh> is not in the search path. The command to set B<LESSOPEN> can "
187 "also be displayed by calling B<lesspipe.sh> without arguments. This can "
188 "even be used to set B<LESSOPEN> directly:"
189 msgstr ""
190 "activează filtrul pentru «less». Utilizați ruta complet calificată, dacă "
191 "B<lesspipe.sh> nu se află în ruta de căutare. Comanda pentru a defini "
192 "B<LESSOPEN> poate fi, de asemenea, afișată prin apelarea B<lesspipe.sh> fără "
193 "argumente. Aceasta poate fi utilizată chiar și pentru a defini direct "
194 "B<LESSOPEN>:"
195
196 #. type: Plain text
197 #: archlinux fedora-44 fedora-rawhide
198 #, no-wrap
199 msgid ""
200 "I<eval `lesspipe.sh`>\n"
201 "(bash) or\n"
202 "I<lesspipe.sh|source /dev/stdin>\n"
203 "(zsh)\n"
204 msgstr ""
205 "I<eval `lesspipe.sh`>\n"
206 "(bash) or\n"
207 "I<lesspipe.sh|source /dev/stdin>\n"
208 "(zsh)\n"
209
210 #. type: Plain text
211 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
212 msgid ""
213 "The above commands work only in the described manner if the file name is "
214 "B<lesspipe.sh>. If it is installed under a different name then calling it "
215 "without an argument will work as a filter with B<LESSQUIET> set and "
216 "expecting input from STDIN."
217 msgstr ""
218 "Comenzile de mai sus funcționează numai în modul descris dacă numele "
219 "fișierului este B<lesspipe.sh>. Dacă acesta este instalat sub un nume "
220 "diferit, atunci apelarea fără un argument va funcționa ca un filtru cu "
221 "fanionul B<LESSQUIET> activat și așteptând intrare de la STDIN."
222
223 #. type: Plain text
224 #: archlinux fedora-44 fedora-rawhide
225 msgid ""
226 "Having set the environment variable as described above, B<less> will then "
227 "display textual information for a wide range of file formats."
228 msgstr ""
229 "După ce ați definit variabila de mediu în modul descris mai sus, B<less> va "
230 "afișa informații textuale pentru o gamă largă de formate de fișiere."
231
232 #. type: Plain text
233 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
234 msgid "The filter is normally not called if input is piped to less as in"
235 msgstr ""
236 "În mod normal, filtrul nu este apelat dacă intrarea este direcționată către "
237 "«less» ca în"
238
239 #. type: Plain text
240 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
241 msgid "I<cat somefile | less>"
242 msgstr "I<cat somefile | less>"
243
244 #. type: Plain text
245 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
246 msgid ""
247 "As described in the man page of less, the filtering in a pipe can however be "
248 "forced by starting B<LESSOPEN> with the characters I<|->."
249 msgstr ""
250 "Așa cum este descris în pagina de manual a «less», filtrarea într-o conductă "
251 "poate fi totuși forțată prin începerea B<LESSOPEN> cu caracterele I<|->."
252
253 #. type: Plain text
254 #: archlinux fedora-44 fedora-rawhide
255 msgid ""
256 "If commands within B<lesspipe.sh> do fail, in some cases the error messages "
257 "get displayed, this is a regarded buggy behavior and should be reported."
258 msgstr ""
259 "Dacă comenzile din B<lesspipe.sh> eșuează, în unele cazuri sunt afișate "
260 "mesaje de eroare. Acest lucru este considerat un comportament defectuos și "
261 "trebuie raportat."
262
263 #. type: Plain text
264 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
265 msgid ""
266 "To suppress informal messages in the first line of the filter output the ENV "
267 "variable B<LESSQUIET> can be set to a nonempty value."
268 msgstr ""
269 "Pentru a suprima mesajele informale din prima linie de ieșire a filtrului, "
270 "variabila ENV B<LESSQUIET> poate fi fixată la o valoare nevidă."
271
272 #. type: Plain text
273 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
274 msgid ""
275 "To disengage the filter temporarily a colon can be appended to the file "
276 "name. If the file name contains a colon, then an equal sign should be used "
277 "instead."
278 msgstr ""
279 "Pentru a dezactiva temporar filtrul, se pot adăuga două puncte la numele "
280 "fișierului „:”. În cazul în care numele fișierului conține două puncte, în "
281 "locul acestora trebuie folosit un semn egal."
282
283 #. type: SH
284 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
285 #, no-wrap
286 msgid "HTML, XML and Perl POD Files"
287 msgstr "Fișiere HTML, XML și Perl POD"
288
289 #. type: Plain text
290 #: archlinux fedora-rawhide
291 msgid ""
292 "Files in the I<html> and I<perl pod> format are always rendered. Sometimes "
293 "however the original contents of the file should be viewed instead. As "
294 "mentioned before that can be achieved by appending a colon to the file name. "
295 "If the correct file type (I<html>, I<pod>) follows, the output can get "
296 "colorized (see also the section below)."
297 msgstr ""
298 "Fișierele în format I<html>și I<perl pod> sunt întotdeauna interpretate. Cu "
299 "toate acestea, uneori conținutul original al fișierului ar trebui să fie "
300 "vizualizat în schimb. După cum s-a menționat anterior, acest lucru poate fi "
301 "realizat prin adăugarea de două puncte („:”) la numele fișierului. Dacă "
302 "urmează tipul corect de fișier (I<html>, I<pod>), ieșirea poate fi colorată "
303 "(a se vedea și secțiunea de mai jos)."
304
305 #. type: Plain text
306 #: archlinux fedora-44 fedora-rawhide
307 msgid "Example: B<less> I<index.html:html>"
308 msgstr "Exemplu: B<less> I<index.html:html>"
309
310 #. type: Plain text
311 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
312 msgid ""
313 "If the binary I<xmq> is installed, then I<xml> is rendered differently, so "
314 "that the xml structure is better recognized. A similar display for I<html> "
315 "contents using I<xmq> is achieved by appending a colon to the file name. To "
316 "get the original html file contents, two colons are required in this case."
317 msgstr ""
318 "Dacă este instalat binarul I<xmq>, atunci I<xml> este redat diferit, astfel "
319 "încât structura xml să fie mai bine recunoscută. O afișare similară pentru "
320 "conținutul I<html> folosind I<xmq> se obține prin adăugarea a două puncte "
321 "(„:”) la numele fișierului. Pentru a obține conținutul original al "
322 "fișierului html, sunt necesare de două ori două puncte în acest caz („::”)."
323
324 #. type: SH
325 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
326 #, no-wrap
327 msgid "OUTPUT COLORIZATION"
328 msgstr "COLORAREA IEȘIRII"
329
330 #. type: Plain text
331 #: archlinux fedora-rawhide
332 msgid ""
333 "The filter is able to do syntax highlighting for a wide variety of file "
334 "types. If installed, I<nvimpager> is used for colorizing the output. If not, "
335 "I<bat>/I<batcat>, I<pygmentize>, I<e2ansi-cat>, I<source-highlight>, "
336 "I<vimcolor> and I<code2color> are tried in turn. For bat/batcat the theme "
337 "is set to I<ansi> and the style is set to I<plain> which comes closer to the "
338 "unfiltered output of B<less>. These settings can be changed in I<~/.config/"
339 "bat/config> or by the environment variables B<BAT_STYLE> and B<BAT_THEME>."
340 msgstr ""
341 "Filtrul este capabil să evidențieze sintaxa pentru o mare varietate de "
342 "tipuri de fișiere. Dacă este instalat, I<nvimpager> este utilizat pentru "
343 "colorarea ieșirii. Dacă nu, sunt încercate pe rând I<bat>/I<batcat>, "
344 "I<pygmentize>, I<e2ansi-cat>, I<source-highlight>, I<vimcolor> și "
345 "I<code2color>. Pentru bat/batcat, tema este stabilită la I<ansi> și stilul "
346 "este stabilit la I<plain>, ceea ce se apropie de rezultatul nefiltrat al "
347 "B<less>. Aceste opțiuni pot fi modificate în I<~/.config/bat/config> sau "
348 "prin variabilele de mediu B<BAT_STYLE> și B<BAT_THEME>."
349
350 #. type: Plain text
351 #: archlinux fedora-rawhide
352 msgid ""
353 "The contents of log files can get colorized if the I<tspin> program is "
354 "installed and the string \":log\" is appended to the file name or the file "
355 "extension is \"log\"."
356 msgstr ""
357 "Conținutul fișierelor jurnal poate fi afișat în culori dacă programul "
358 "I<tspin> este instalat și dacă la numele fișierului se adaugă șirul „:log” "
359 "sau dacă extensia fișierului este „log”."
360
361 #. type: Plain text
362 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
363 msgid ""
364 "Among the colorizers a preferred one can be forced for colorizing by setting "
365 "the ENV variable B<LESSCOLORIZER> to the name of the colorizer. For "
366 "I<pygmentize> and I<bat>/I<batcat> restricted option settings are allowed as "
367 "follows:"
368 msgstr ""
369 "Dintre programele de colorare, se poate forța utilizarea unuia dintre ele "
370 "prin definirea variabilei ENV B<LESSCOLORIZER> la numele programului de "
371 "colorare. Pentru I<pygmentize> și I<bat>/I<batcat> sunt permise configurări "
372 "de opțiuni restrânse, după cum urmează:"
373
374 # HK: Review range of I<>, I just remove one ">"
375 # .
376 # R-GC: Thanks, I have corrected the error.
377 #. type: Plain text
378 #: archlinux fedora-44 fedora-rawhide
379 #, no-wrap
380 msgid ""
381 "I<LESSCOLORIZER='pygmentize -O style=foo' # -P allowed as well>\n"
382 "I<LESSCOLORIZER='bat --style=foo --theme=bar' # default: theme=ansi, style=plain>\n"
383 msgstr ""
384 "I<LESSCOLORIZER='pygmentize -O style=foo' # -P este permisă, de asemenea>\n"
385 "I<LESSCOLORIZER='bat --style=foo --theme=bar' # implicit: theme=ansi, style=plain>\n"
386
387 #. type: Plain text
388 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
389 msgid ""
390 "Syntax highlighting is activated, if the environment variable B<LESS> exists "
391 "and contains the option I<-R> or less is called with this option. This "
392 "guarantees that escape sequences get converted into colors and do not garble "
393 "the display. Using the option I<-r> is not recommended, as the screen layout "
394 "may be wrong, if long lines are in the output."
395 msgstr ""
396 "Evidențierea sintaxei este activată dacă variabila de mediu B<LESS> există "
397 "și conține opțiunea I<-R> sau dacă «less» este apelat cu această opțiune. "
398 "Acest lucru garantează că secvențele de control sunt convertite în culori și "
399 "nu distorsionează afișarea. Utilizarea opțiunii I<-r> nu este recomandată, "
400 "deoarece dispunerea ecranului poate fi greșită, dacă în ieșire se află linii "
401 "lungi."
402
403 #. type: Plain text
404 #: archlinux fedora-44 fedora-rawhide
405 msgid ""
406 "Syntax highlighting can be switched off by appending a colon after the file "
407 "name, if the output was colorful. If the wrong language was chosen for "
408 "syntax highlighting, then another one can be forced by appending a colon and "
409 "a suffix to the file name. The list of suffixes and supported languages can "
410 "be printed using the following colorizer commands:"
411 msgstr ""
412 "Evidențierea sintaxei poate fi dezactivată prin adăugarea a două puncte după "
413 "numele fișierului, dacă ieșirea a fost colorată. Dacă a fost ales un limbaj "
414 "greșit pentru evidențierea sintaxei, atunci poate fi forțat un alt limbaj "
415 "prin adăugarea a două puncte și a unui sufix după numele fișierului. Lista "
416 "sufixelor și a limbilor acceptate poate fi imprimată folosind următoarele "
417 "comenzi de colorare:"
418
419 #. type: Plain text
420 #: archlinux fedora-rawhide
421 #, no-wrap
422 msgid ""
423 "I<bat --list-languages>\n"
424 "I<batcat --list-languages>\n"
425 "I<pygmentize -L lexers>\n"
426 "I<M-x -mode [TAB] within emacs>\n"
427 "I<source-highlight --lang-list>\n"
428 "I<code2color -h>\n"
429 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
430 msgstr ""
431 "I<bat --list-languages>\n"
432 "I<batcat --list-languages>\n"
433 "I<pygmentize -L lexers>\n"
434 "I<M-x -mode [TAB] în emacs>\n"
435 "I<source-highlight --lang-list>\n"
436 "I<code2color -h>\n"
437 "I<vimcolor -L (atât pentru vimcolor, cât și pentru nvimpager)>\n"
438
439 #. type: Plain text
440 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
441 msgid ""
442 "In a pipe that method cannot be used. As a way out a last argument can be "
443 "added that gets inspected by B<lesspipe.sh>. A single colon (disengage "
444 "filter) or :extension (force language) is possible as e.g with"
445 msgstr ""
446 "Într-o conductă, această metodă nu poate fi utilizată. Ca o soluție se poate "
447 "adăuga un ultim argument care este inspectat de B<lesspipe.sh>. Este posibil "
448 "să se folosească doar două puncte „:” (dezactivarea filtrului) sau :extensia "
449 "(forțarea limbajului), de exemplu cu"
450
451 #. type: Plain text
452 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
453 msgid "I<command that generates c code | less - :c>"
454 msgstr "I<comandă care generează cod c | less - :c>"
455
456 #. type: Plain text
457 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
458 msgid ""
459 "When the conditions for syntax highlighting are met directory listings and "
460 "listings of tar file contents get colorized as well."
461 msgstr ""
462 "Atunci când sunt îndeplinite condițiile de evidențiere a sintaxei, listele "
463 "de directoare și listele cu conținutul fișierelor tar sunt de asemenea "
464 "colorate."
465
466 #. type: Plain text
467 #: archlinux fedora-44 fedora-rawhide
468 msgid ""
469 "As B<less> is used as a default browser in other programs (e.g. I<man>, "
470 "I<git>, and I<perldoc>) B<lesspipe.sh> may be engaged and alter the output "
471 "of those programs."
472 msgstr ""
473 "Deoarece B<less> este utilizat ca navigator implicit în alte programe (de "
474 "exemplu, I<man>, I<git> și I<perldoc>) B<lesspipe.sh> poate fi angajat și "
475 "poate modifica rezultatul acestor programe."
476
477 #. type: SH
478 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
479 #, no-wrap
480 msgid "WATCHING GROWING FILES"
481 msgstr "URMĂRIREA CREȘTERII FIȘIERELOR"
482
483 #. type: Plain text
484 #: archlinux fedora-rawhide
485 msgid ""
486 "The ability to watch growing files (usually wanted for log files like "
487 "syslog) (using the F command within less or calling less with the +F "
488 "option) may get lost if B<lesspipe.sh> stores the input in a temporary file "
489 "for further processing. That can be repaired by adding a colon as the last "
490 "argument for B<less> such as e.g."
491 msgstr ""
492 "Abilitatea de a vizualiza fișierele pe măsură ce cresc (utilă de obicei "
493 "pentru fișierele jurnal, cum ar fi syslog) (folosind comanda F din less sau "
494 "apelând less cu opțiunea +F) se poate pierde dacă B<lesspipe.sh> stochează "
495 "datele de intrare într-un fișier temporar pentru procesare ulterioară. "
496 "Această problemă poate fi remediată adăugând două puncte („:”) ca ultim "
497 "argument pentru B<less>, de exemplu:"
498
499 #. type: Plain text
500 #: archlinux fedora-44 fedora-rawhide
501 msgid "B<less>I< /var/log/syslog :>"
502 msgstr "B<less>I< /var/log/syslog :>"
503
504 #. type: Plain text
505 #: archlinux fedora-rawhide
506 msgid "or if LESSOPEN starts with |- and less is called in a pipe"
507 msgstr "sau dacă LESSOPEN începe cu |- și less: este apelat printr-o conductă"
508
509 #. type: Plain text
510 #: archlinux fedora-rawhide
511 msgid "B<cat>I< /var/log/syslog | less +F - :>"
512 msgstr "B<cat>I< /var/log/syslog | less +F - :>"
513
514 #. type: SH
515 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
516 #, no-wrap
517 msgid "ADVANCED USAGE"
518 msgstr "UTILIZARE AVANSATĂ"
519
520 #. type: Plain text
521 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
522 msgid ""
523 "This version of B<lesspipe.sh> allows you to view individual files contained "
524 "in a file archive, which itself may even be contained in another archive."
525 msgstr ""
526 "Această versiune a B<lesspipe.sh> vă permite să vizualizați fișiere "
527 "individuale conținute într-o arhivă de fișiere, care la rândul ei poate fi "
528 "conținută într-o altă arhivă."
529
530 #. type: Plain text
531 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
532 msgid "The notation for viewing files in multifile archives is"
533 msgstr "Notația pentru vizualizarea fișierelor din arhivele multi-fișiere este"
534
535 #. type: Plain text
536 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
537 msgid "B<less> I<archive_file>:I<contained_file>"
538 msgstr "B<less> I<fișier_arhivă>:I<fișier_conținut>"
539
540 #. type: Plain text
541 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
542 msgid "or even"
543 msgstr "sau chiar"
544
545 #. type: Plain text
546 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
547 msgid "B<less> I<super_archive>:I<archive_file>:I<contained_file>"
548 msgstr "B<less> I<super_arhivă>:I<fișier_arhivă>:I<fișier_conținut>"
549
550 #. type: Plain text
551 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
552 msgid ""
553 "To display the last file in the chain raw format, a colon (I<:>) has to be "
554 "appended to the file name. If it does contain a colon, then the alternate "
555 "separator character equal sign (I<=>) has to be used."
556 msgstr ""
557 "Pentru a afișa ultimul fișier în formatul brut al lanțului, trebuie adăugate "
558 "două puncte (I<:>) la numele fișierului. Dacă acesta conține două puncte, "
559 "atunci trebuie să se utilizeze semnul egal (I<=>) drept caracter de separare "
560 "alternativ."
561
562 #. type: Plain text
563 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
564 msgid ""
565 "Again, this method of extracting and displaying files does not work if "
566 "B<less> is called in an output pipe and B<LESSOPEN> starts with the B<|-> "
567 "characters. As already for syntax highlighting the solution is to use a "
568 "second argument that starts with a colon. Then the above command would be "
569 "written as"
570 msgstr ""
571 "Din nou, această metodă de extragere și afișare a fișierelor nu funcționează "
572 "dacă B<less> este apelat într-o conductă de ieșire și B<LESSOPEN> începe cu "
573 "caracterele B<|->. Ca și în cazul evidențierii sintaxei, soluția este de a "
574 "utiliza un al doilea argument care începe cu două puncte. În acest caz, "
575 "comanda de mai sus ar fi scrisă sub forma"
576
577 #. type: Plain text
578 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
579 msgid "B<cat >I<super_archive>B< | less - :>I<archive>B<:>I<contained_file>"
580 msgstr "B<cat >I<super_arhivă>B< | less - :>I<arhivă>B<:>I<fișier_conținut>"
581
582 #. type: SH
583 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
584 #, no-wrap
585 msgid "COMPLETING MECHANISM FOR ARCHIVE CONTENTS"
586 msgstr "MECANISM DE COMPLETARE A CONȚINUTULUI ARHIVEI"
587
588 #. type: Plain text
589 #: archlinux fedora-44 fedora-rawhide
590 msgid ""
591 "With the provided I<lesscomplete> file (for B<zsh> and B<bash>) and the "
592 "I<_less> (for B<zsh>) and I<less> (for B<bash>) files generated during "
593 "installation a tab completion for files in archives can be accomplished. "
594 "Entering a colon (:) or an equal sign (=) after an archive file name and "
595 "then pressing the tab key triggers the completion mechanism. This also "
596 "works in chained archives. The files required for the completion algorithm "
597 "get installed in directories according the choices made during the "
598 "installation (configure script)."
599 msgstr ""
600 "Cu fișierul I<lesscomplete> furnizat (pentru B<zsh> și B<bash>) și fișierele "
601 "I<_less> (pentru B<zsh>) și I<less> (pentru B<bash>) generate în timpul "
602 "instalării, se poate realiza completarea cu tasta «Tab» pentru fișierele din "
603 "arhive. Introducerea unui semn de două puncte (:) sau a unui semn egal (=) "
604 "după numele unui fișier arhivat și apoi apăsarea tastei «Tab» activează "
605 "mecanismul de completare. Acest lucru funcționează și în arhivele în lanț. "
606 "Fișierele necesare pentru algoritmul de completare sunt instalate în "
607 "directoare în conformitate cu opțiunile selectate în timpul instalării "
608 "(scriptul de configurare)."
609
610 #. type: Plain text
611 #: archlinux fedora-44 fedora-rawhide
612 msgid ""
613 "The file I<lesscomplete> has to be in one of the directories listed in "
614 "B<$PATH> and the function I<_less> for B<zsh> in a directory listed by "
615 "I<$fpath>. The file I<less> with completion instructions for bash has to be "
616 "sourced within a bash initialization script, e.g. in I<~/.bashrc>. New "
617 "directories such as I<~/scripts> and I<~/.fpath> (for zsh) can be added "
618 "using the commands"
619 msgstr ""
620 "Fișierul I<lesscomplete> trebuie să se afle într-unul dintre directoarele "
621 "listate în B<$PATH>, iar funcția I<_less> pentru B<zsh> într-un director "
622 "listat de I<$fpath>. Fișierul I<less> cu instrucțiuni de completare pentru "
623 "bash trebuie să fie sursă într-un script de inițializare bash, de exemplu în "
624 "I<~/.bashrc>. Directoare noi, precum I<~/scripts> și I<~/.fpath> (pentru "
625 "zsh), pot fi adăugate folosind comenzile"
626
627 #. type: Plain text
628 #: archlinux fedora-44 fedora-rawhide
629 msgid ""
630 "B<PATH>=I<~/scripts:$PATH> # (lesspipe.sh, less) and B<fpath>=I<(~/.fpath "
631 "$fpath)> # (_less, zsh only)"
632 msgstr ""
633 "B<PATH>=I<~/scripts:$PATH> # (lesspipe.sh, less) and B<fpath>=I<(~/.fpath "
634 "$fpath)> # (_less, zsh only)"
635
636 #. type: Plain text
637 #: archlinux fedora-44 fedora-rawhide
638 msgid ""
639 "In B<zsh>, I<compinit> has to be called and the menucomplete option has to "
640 "be set if not yet done. That can be achieved with the commands"
641 msgstr ""
642 "În B<zsh>, trebuie apelat I<compinit> și trebuie activată opțiunea "
643 "menucomplete, dacă nu a fost deja făcută. Acest lucru se poate realiza cu "
644 "ajutorul comenzilor"
645
646 #. type: Plain text
647 #: archlinux fedora-44 fedora-rawhide
648 #, no-wrap
649 msgid ""
650 "I<autoload compinit>\n"
651 "I<compinit -Uz>\n"
652 "I<setopt menucomplete>\n"
653 msgstr ""
654 "I<autoload compinit>\n"
655 "I<compinit -Uz>\n"
656 "I<setopt menucomplete>\n"
657
658 #. type: Plain text
659 #: archlinux fedora-44 fedora-rawhide
660 msgid ""
661 "In B<bash>, the I<bash-completion> (usually a package with that name) has "
662 "to be installed"
663 msgstr ""
664 "În B<bash>, I<bash-completion> (de obicei un pachet cu acest nume) trebuie "
665 "să fie instalat."
666
667 #. type: SH
668 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
669 #, no-wrap
670 msgid "USER DEFINED FILTERING"
671 msgstr "FILTRAREA DEFINITĂ DE UTILIZATOR"
672
673 #. type: Plain text
674 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
675 msgid ""
676 "The lesspipe.sh filtering can be replaced or enhanced by a user defined "
677 "program. Such a program has to be called either B<.lessfilter> (and be "
678 "placed in the users home directory), or B<lessfilter> (and be accessible "
679 "from a directory mentioned in B<$PATH>). It has to be executable and has to "
680 "end with an exit code 0, if the filtering was done within that script. "
681 "Otherwise, a nonzero exit code means the filtering is left to lesspipe.sh."
682 msgstr ""
683 "Filtrarea lesspipe.sh poate fi înlocuită sau îmbunătățită de un program "
684 "definit de utilizator. Un astfel de program trebuie să se numească fie "
685 "B<.lessfilter> (și să fie plasat în directorul personal al utilizatorului), "
686 "fie B<lessfilter> (și să fie accesibil dintr-un director menționat în "
687 "B<$PATH>). Acesta trebuie să fie executabil și trebuie să se încheie cu un "
688 "cod de ieșire 0, dacă filtrarea a fost efectuată în cadrul scriptului "
689 "respectiv. În caz contrar, un cod de ieșire diferit de zero înseamnă că "
690 "filtrarea este lăsată în seama «lesspipe.sh»."
691
692 #. type: Plain text
693 #: archlinux fedora-44 fedora-rawhide
694 msgid ""
695 "This mechanism can be used to add filtering for new formats or e.g. inhibit "
696 "filtering for certain file types. A sample .lessfilter could look as follows:"
697 msgstr ""
698 "Acest mecanism poate fi utilizat pentru a adăuga filtre pentru noi formate "
699 "sau, de exemplu, pentru a inhiba filtrarea pentru anumite tipuri de fișiere. "
700 "Un exemplu de .lessfilter ar putea arăta astfel:"
701
702 #. type: Plain text
703 #: archlinux fedora-44 fedora-rawhide
704 #, no-wrap
705 msgid ""
706 "I<#!/usr/bin/env bash>\n"
707 "I<case $1 in>\n"
708 "I<*.md|*.MD|*.mkd|*.markdown|*.rst)>\n"
709 "I<# if the python module rich.markdown is not found then>\n"
710 "I<# the exit code is not null and lesspipe.sh is called>\n"
711 "I<python3 -m rich.markdown -c $1 ;;>\n"
712 "I<*.html|*.htm)>\n"
713 "I<# call your favorite html beautifier, cat -b is just a boring example>\n"
714 "I<cat -b $1 ;;>\n"
715 "I<*)>\n"
716 "I<exit 1;;>\n"
717 "I<esac>\n"
718 msgstr ""
719 "I<#!/usr/bin/env bash>\n"
720 "I<case $1 in>\n"
721 "I<*.md|*.MD|*.mkd|*.markdown|*.rst)>\n"
722 "I<# dacă modulul Python rich.markdown nu este găsit, atunci>\n"
723 "I<# codul de ieșire nu este nul și se apelează lesspipe.sh>\n"
724 "I<python3 -m rich.markdown -c $1 ;;>\n"
725 "I<*.html|*.htm)>\n"
726 "I<# apelează programul tău preferat de formatare HTML, «cat -b» este doar un exemplu plictisitor>\n"
727 "I<cat -b $1 ;;>\n"
728 "I<*)>\n"
729 "I<exit 1;;>\n"
730 "I<esac>\n"
731
732 #. type: SH
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron
735 #, no-wrap
736 msgid "AUTHOR"
737 msgstr "AUTOR"
738
739 #. type: Plain text
740 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
741 msgid "Wolfgang Friebel"
742 msgstr "Wolfgang Friebel"
743
744 #. type: SH
745 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
746 #, no-wrap
747 msgid "REPORTING BUGS"
748 msgstr "RAPORTAREA ERORILOR"
749
750 #. type: Plain text
751 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
752 msgid "Report bugs to E<lt>wp.friebel AT gmail DOT comE<gt>."
753 msgstr "Raportați erorile la E<lt>wp.friebel AT gmail DOT comE<gt>."
754
755 #. type: SH
756 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
757 #, no-wrap
758 msgid "COPYRIGHT"
759 msgstr "DREPTURI DE AUTOR"
760
761 #. type: Plain text
762 #: archlinux fedora-rawhide
763 msgid "Copyright \\(co 2005-2026 Wolfgang Friebel"
764 msgstr "Drepturi de autor \\(co 2005-2026 Wolfgang Friebel"
765
766 #. type: Plain text
767 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
768 msgid ""
769 "This is free software; see the source for copying conditions. There is NO "
770 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
771 msgstr ""
772 "Acesta este software liber; consultați sursa pentru condițiile de copiere. "
773 "NU există NICIO garanție; nici măcar pentru COMERCIALIZARE sau POTRIVIRE "
774 "PENTRU UN ANUMIT SCOP."
775
776 #. type: SH
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron
779 #, no-wrap
780 msgid "SEE ALSO"
781 msgstr "CONSULTAȚI ȘI"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron
786 msgid "less(1)"
787 msgstr "less(1)"
788
789 #. type: Plain text
790 #: archlinux fedora-44 fedora-rawhide
791 msgid ""
792 "A description of B<lesspipe.sh> can also be found in the file README "
793 "contained in the source code package"
794 msgstr ""
795 "O descriere a B<lesspipe.sh> poate fi de asemenea găsită în fișierul README "
796 "conținut în pachetul de cod sursă"
797
798 #. type: TH
799 #: debian-trixie debian-unstable
800 #, no-wrap
801 msgid "LESSOPEN"
802 msgstr "LESSOPEN"
803
804 #. type: Plain text
805 #: debian-trixie debian-unstable
806 msgid "lessfile, lesspipe - \"input preprocessor\" for less."
807 msgstr "lessfile, lesspipe - „preprocesor de intrare” pentru less."
808
809 #. type: Plain text
810 #: debian-trixie debian-unstable
811 msgid "B<lessfile, lesspipe>"
812 msgstr "B<lessfile, lesspipe>"
813
814 #. type: Plain text
815 #: debian-trixie debian-unstable
816 msgid ""
817 "This manual page documents briefly the I<lessfile>, and I<lesspipe> "
818 "commands. This manual page was written for the Debian GNU/Linux "
819 "distribution because the input preprocessor scripts are provided by Debian "
820 "GNU/Linux and are not part of the original program."
821 msgstr ""
822 "Această pagină de manual documentează pe scurt comenzile I<lessfile> și "
823 "I<lesspipe>. Această pagină de manual a fost scrisă pentru distribuția "
824 "Debian GNU/Linux deoarece scripturile preprocesorului de intrare sunt "
825 "furnizate de Debian GNU/Linux și nu fac parte din programul original."
826
827 #. type: Plain text
828 #: debian-trixie debian-unstable
829 msgid ""
830 "I<lessfile> and I<lesspipe> are programs that can be used to modify the way "
831 "the contents of a file are displayed in I<less.> What this means is that "
832 "I<less> can automatically open up tar files, uncompress gzipped files, and "
833 "even display something reasonable for graphics files."
834 msgstr ""
835 "I<lessfile> și I<lesspipe> sunt programe care pot fi utilizate pentru a "
836 "modifica modul în care conținutul unui fișier este afișat în I<less.> Acest "
837 "lucru înseamnă că I<less> poate deschide automat fișiere tar, poate "
838 "decomprima fișiere comprimate în format gzip și chiar poate afișa ceva "
839 "rezonabil pentru fișierele grafice."
840
841 #. type: Plain text
842 #: debian-trixie debian-unstable
843 msgid ""
844 "I<lesspipe> will toss the contents/info on STDOUT and I<less> will read them "
845 "as they come across. This means that you do not have to wait for the "
846 "decoding to finish before less shows you the file. This also means that you "
847 "will get a 'byte N' instead of an N% as your file position. You can seek to "
848 "the end and back to get the N% but that means you have to wait for the pipe "
849 "to finish."
850 msgstr ""
851 "I<lesspipe> va transfera conținutul/informațiile la STDOUT, iar I<less> le "
852 "va citi pe măsură ce le primește. Acest lucru înseamnă că nu trebuie să "
853 "așteptați ca decodificarea să se termine înainte ca «less» să vă arate "
854 "fișierul. Acest lucru înseamnă, de asemenea, că veți primi un „N octet” în "
855 "loc de un N% ca poziție a fișierului. Puteți căuta până la capăt și înapoi "
856 "pentru a obține N%, dar acest lucru înseamnă că trebuie să așteptați până "
857 "când se termină conducta."
858
859 #. type: Plain text
860 #: debian-trixie debian-unstable
861 msgid ""
862 "I<lessfile> will toss the contents/info on a file which I<less> will then "
863 "read. After you are done, I<lessfile> will then delete the file. This "
864 "means that the process has to finish before you see it, but you get nice "
865 "percentages (N%) up front."
866 msgstr ""
867 "I<lessfile> va transfera conținutul/informațiile într-un fișier pe care "
868 "I<less> îl va citi apoi. După ce ați terminat, I<lessfile> va șterge "
869 "fișierul. Acest lucru înseamnă că procesul trebuie să se încheie înainte de "
870 "a-l vedea, dar veți primi procente bune (N%) în avans."
871
872 #. type: SH
873 #: debian-trixie debian-unstable
874 #, no-wrap
875 msgid "USAGE"
876 msgstr "UTILIZARE"
877
878 #. type: Plain text
879 #: debian-trixie debian-unstable
880 msgid ""
881 "Just put one of the following two commands in your login script (e.g. "
882 "~/.bash_profile):"
883 msgstr ""
884 "Doar puneți una dintre următoarele două comenzi în scriptul de conectare (de "
885 "exemplu, ~/.bash_profile):"
886
887 #. type: Plain text
888 #: debian-trixie debian-unstable
889 #, no-wrap
890 msgid " eval \"$(lessfile)\"\n"
891 msgstr " eval \"$(lessfile)\"\n"
892
893 #. type: Plain text
894 #: debian-trixie debian-unstable
895 msgid "or"
896 msgstr "sau"
897
898 #. type: Plain text
899 #: debian-trixie debian-unstable
900 #, no-wrap
901 msgid " eval \"$(lesspipe)\"\n"
902 msgstr " eval \"$(lesspipe)\"\n"
903
904 #. type: SH
905 #: debian-trixie debian-unstable
906 #, no-wrap
907 msgid "FILE TYPE RECOGNITION"
908 msgstr "RECUNOAȘTEREA TIPULUI DE FIȘIER"
909
910 #. type: Plain text
911 #: debian-trixie debian-unstable
912 msgid ""
913 "File types are recognized by their extensions. This is a list of currently "
914 "supported extensions (grouped by the programs that handle them):"
915 msgstr ""
916 "Tipurile de fișiere sunt recunoscute prin extensiile lor. Aceasta este o "
917 "listă a extensiilor acceptate în prezent (grupate în funcție de programele "
918 "care le gestionează):"
919
920 #. type: Plain text
921 #: debian-trixie debian-unstable
922 #, no-wrap
923 msgid ""
924 " *.a\n"
925 " *.arj\n"
926 " *.tar.bz2\n"
927 " *.bz\n"
928 " *.bz2\n"
929 " *.deb, *.udeb, *.ddeb\n"
930 " *.doc\n"
931 " *.egg\n"
932 " *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n"
933 " *.iso, *.raw, *.bin\n"
934 " *.lha, *.lzh\n"
935 " *.tar.lz, *.tlz\n"
936 " *.lz\n"
937 " *.7z\n"
938 " *.pdf\n"
939 " *.rar, *.r[0-9][0-9]\n"
940 " *.rpm\n"
941 " *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n"
942 " *.gz, *.z, *.dz\n"
943 " *.tar\n"
944 " *.tar.xz, *.xz\n"
945 " *.whl\n"
946 " *.jar, *.war, *.xpi, *.zip\n"
947 " *.zoo\n"
948 " *.tar.zst, *.tzst\n"
949 " *.zst\n"
950 msgstr ""
951 " *.a\n"
952 " *.arj\n"
953 " *.tar.bz2\n"
954 " *.bz\n"
955 " *.bz2\n"
956 " *.deb, *.udeb, *.ddeb\n"
957 " *.doc\n"
958 " *.egg\n"
959 " *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n"
960 " *.iso, *.raw, *.bin\n"
961 " *.lha, *.lzh\n"
962 " *.tar.lz, *.tlz\n"
963 " *.lz\n"
964 " *.7z\n"
965 " *.pdf\n"
966 " *.rar, *.r[0-9][0-9]\n"
967 " *.rpm\n"
968 " *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n"
969 " *.gz, *.z, *.dz\n"
970 " *.tar\n"
971 " *.tar.xz, *.xz\n"
972 " *.whl\n"
973 " *.jar, *.war, *.xpi, *.zip\n"
974 " *.zoo\n"
975 " *.tar.zst, *.tzst\n"
976 " *.zst\n"
977
978 #. type: SH
979 #: debian-trixie debian-unstable
980 #, no-wrap
981 msgid "USER DEFINED FILTERS"
982 msgstr "FILTRE DEFINITE DE UTILIZATOR"
983
984 #. type: Plain text
985 #: debian-trixie debian-unstable
986 msgid ""
987 "It is possible to extend and overwrite the default I<lesspipe> and "
988 "I<lessfile> input processor if you have specialized requirements. Create an "
989 "executable program with the name I<.lessfilter> and put it into your home "
990 "directory. This can be a shell script or a binary program."
991 msgstr ""
992 "Este posibil să extindeți și să suprascrieți procesorul de intrare implicit "
993 "I<lesspipe> și I<lessfile> dacă aveți cerințe speciale. Creați un program "
994 "executabil cu numele I<.lessfilter> și puneți-l în directorul dvs. personal. "
995 "Acesta poate fi un script shell sau un program binar."
996
997 #. type: Plain text
998 #: debian-trixie debian-unstable
999 msgid ""
1000 "It is important that this program returns the correct exit code: return 0 if "
1001 "your filter handles the input, return 1 if the standard I<lesspipe/lessfile> "
1002 "filter should handle the input."
1003 msgstr ""
1004 "Este important ca acest program să returneze codul de ieșire corect: "
1005 "returnează 0 dacă filtrul dvs. gestionează intrarea, returnează 1 dacă "
1006 "filtrul standard I<lesspipe/lessfile> ar trebui să gestioneze intrarea."
1007
1008 #. type: Plain text
1009 #: debian-trixie debian-unstable
1010 msgid "Here is an example script:"
1011 msgstr "Iată un exemplu de script:"
1012
1013 #. type: Plain text
1014 #: debian-trixie debian-unstable
1015 #, no-wrap
1016 msgid " #!/bin/sh\n"
1017 msgstr " #!/bin/sh\n"
1018
1019 #. type: Plain text
1020 #: debian-trixie debian-unstable
1021 #, no-wrap
1022 msgid ""
1023 " case \"$1\" in\n"
1024 " *.extension)\n"
1025 " extension-handler \"$1\"\n"
1026 " ;;\n"
1027 " *)\n"
1028 " # We don't handle this format.\n"
1029 " exit 1\n"
1030 " esac\n"
1031 msgstr ""
1032 " case \"$1\" in\n"
1033 " *.extension)\n"
1034 " extension-handler \"$1\"\n"
1035 " ;;\n"
1036 " *)\n"
1037 " # Nu gestionăm acest format.\n"
1038 " exit 1\n"
1039 " esac\n"
1040
1041 #. type: Plain text
1042 #: debian-trixie debian-unstable
1043 #, no-wrap
1044 msgid ""
1045 " # No further processing by lesspipe necessary\n"
1046 " exit 0\n"
1047 msgstr ""
1048 " # Nu este necesară o prelucrare ulterioară de către «lesspipe»\n"
1049 " exit 0\n"
1050
1051 #. type: SH
1052 #: debian-trixie debian-unstable
1053 #, no-wrap
1054 msgid "FILES"
1055 msgstr "FIȘIERE"
1056
1057 #. type: TP
1058 #: debian-trixie debian-unstable
1059 #, no-wrap
1060 msgid "I<~/.lessfilter>"
1061 msgstr "I<~/.lessfilter>"
1062
1063 #. type: Plain text
1064 #: debian-trixie debian-unstable
1065 msgid ""
1066 "Executable file that can do user defined processing. See section USER "
1067 "DEFINED FILTERS for more information."
1068 msgstr ""
1069 "Fișier executabil care poate efectua prelucrări definite de utilizator. "
1070 "Pentru mai multe informații, consultați secțiunea FILTRE DEFINITE DE "
1071 "UTILIZATOR."
1072
1073 #. type: SH
1074 #: debian-trixie debian-unstable
1075 #, no-wrap
1076 msgid "BUGS"
1077 msgstr "ERORI"
1078
1079 #. type: Plain text
1080 #: debian-trixie debian-unstable
1081 msgid ""
1082 "Sometimes, less does not display the contents file you want to view but "
1083 "output that is produced by your login scripts (~/.bashrc or "
1084 "~/.bash_profile). This happens because less uses your current shell to run "
1085 "the lesspipe filter. Bash first looks for the variable $BASH_ENV in the "
1086 "environment expands its value and uses the expanded value as the name of a "
1087 "file to read and execute. If this file produces any output less will display "
1088 "this. A way to solve this problem is to put the following lines on the top "
1089 "of your login script that produces output:"
1090 msgstr ""
1091 "Uneori, «less» nu afișează conținutul fișierului pe care doriți să îl "
1092 "vizualizați, ci ieșirea produsă de scripturile de conectare (~/.bashrc sau "
1093 "~/.bash_profile). Acest lucru se întâmplă deoarece «less» utilizează shell-"
1094 "ul dvs. curent pentru a rula filtrul «lesspipe». Bash caută mai întâi "
1095 "variabila $BASH_ENV în mediu îi extinde valoarea și utilizează valoarea "
1096 "extinsă ca nume al unui fișier de citit și executat. Dacă acest fișier "
1097 "produce vreo ieșire, «less» va afișa acest lucru. O modalitate de a rezolva "
1098 "această problemă este de a pune următoarele linii în partea de sus a "
1099 "scriptului de conectare care produce ieșire:"
1100
1101 #. type: Plain text
1102 #: debian-trixie debian-unstable
1103 #, no-wrap
1104 msgid ""
1105 " if [ -z \"$PS1\" ]; then\n"
1106 " exit\n"
1107 " fi\n"
1108 msgstr ""
1109 " if [ -z \"$PS1\" ]; then\n"
1110 " exit\n"
1111 " fi\n"
1112
1113 #. type: Plain text
1114 #: debian-trixie debian-unstable
1115 msgid ""
1116 "This tests whether the prompt variable $PS1 is set and if it isn't (which is "
1117 "the case for non-interactive shells) it will exit the script."
1118 msgstr ""
1119 "Aceasta testează dacă variabila prompt $PS1 este definită, iar dacă nu este "
1120 "(ceea ce este cazul în cazul shell-urilor non-interactive), va ieși din "
1121 "script."
1122
1123 #. type: Plain text
1124 #: debian-trixie debian-unstable
1125 msgid ""
1126 "This manual page was written by Thomas Schoepf E<lt>[email protected]<gt>, "
1127 "for the Debian GNU/Linux system (but may be used by others). Most of the "
1128 "text was copied from a description written by Darren Stalder "
1129 "E<lt>[email protected]<gt>."
1130 msgstr ""
1131 "Această pagină de manual a fost scrisă de Thomas Schoepf "
1132 "E<lt>[email protected]<gt>, pentru sistemul Debian GNU/Linux (dar poate fi "
1133 "folosită și de alții). Cea mai mare parte a textului a fost copiată dintr-o "
1134 "descriere scrisă de Darren Stalder E<lt>[email protected]<gt>."
1135
1136 #. type: TH
1137 #: fedora-44
1138 #, no-wrap
1139 msgid "December 2025"
1140 msgstr "decembrie 2025"
1141
1142 #. type: Plain text
1143 #: fedora-44 mageia-cauldron
1144 msgid ""
1145 "Files in the I<html>, I<xml> and I<perl pod> format are always rendered. "
1146 "Sometimes however the original contents of the file should be viewed "
1147 "instead. As mentioned before that can be achieved by appending a colon to "
1148 "the file name. If the correct file type (I<html>, I<xml>, I<pod>) follows, "
1149 "the output can get colorized (see also the section below)."
1150 msgstr ""
1151 "Fișierele în format I<html>, I<xml> și I<perl pod> sunt întotdeauna "
1152 "interpretate. Cu toate acestea, uneori conținutul original al fișierului ar "
1153 "trebui să fie vizualizat în schimb. După cum s-a menționat anterior, acest "
1154 "lucru poate fi realizat prin adăugarea de două puncte („:”) la numele "
1155 "fișierului. Dacă urmează tipul corect de fișier (I<html>, I<xml>, I<pod>), "
1156 "ieșirea poate fi colorată (a se vedea și secțiunea de mai jos)."
1157
1158 #. type: Plain text
1159 #: fedora-44 mageia-cauldron
1160 msgid ""
1161 "The filter is able to do syntax highlighting for a wide variety of file "
1162 "types. If installed, I<nvimpager> is used for colorizing the output. If not, "
1163 "I<bat>/I<batcat>, I<pygmentize>, I<source-highlight>, I<vimcolor> and "
1164 "I<code2color> are tried in turn. For bat/batcat the theme is set to I<ansi> "
1165 "and the style is set to I<plain> which comes closer to the unfiltered output "
1166 "of B<less>. These settings can be changed in I<~/.config/bat/config> or by "
1167 "the environment variables B<BAT_STYLE> and B<BAT_THEME>."
1168 msgstr ""
1169 "Filtrul este capabil să evidențieze sintaxa pentru o mare varietate de "
1170 "tipuri de fișiere. Dacă este instalat, I<nvimpager> este utilizat pentru "
1171 "colorarea ieșirii. Dacă nu, sunt încercate pe rând I<bat>/I<batcat>, "
1172 "I<pygmentize>, I<source-highlight>, I<vimcolor> și I<code2color>. Pentru bat/"
1173 "batcat, tema este stabilită la I<ansi> și stilul este stabilit la I<plain>, "
1174 "ceea ce se apropie de rezultatul nefiltrat al B<less>. Aceste opțiuni pot fi "
1175 "modificate în I<~/.config/bat/config> sau prin variabilele de mediu "
1176 "B<BAT_STYLE> și B<BAT_THEME>."
1177
1178 #. type: Plain text
1179 #: fedora-44
1180 #, no-wrap
1181 msgid ""
1182 "I<bat --list-languages>\n"
1183 "I<batcat --list-languages>\n"
1184 "I<pygmentize -L lexers>\n"
1185 "I<source-highlight --lang-list>\n"
1186 "I<code2color -h>\n"
1187 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
1188 msgstr ""
1189 "I<bat --list-languages>\n"
1190 "I<batcat --list-languages>\n"
1191 "I<pygmentize -L lexers>\n"
1192 "I<source-highlight --lang-list>\n"
1193 "I<code2color -h>\n"
1194 "I<vimcolor -L (atât pentru vimcolor, cât și pentru nvimpager)>\n"
1195
1196 #. type: Plain text
1197 #: fedora-44 mageia-cauldron
1198 msgid ""
1199 "As soon as B<lesspipe.sh> calls a program to convert the input the ability "
1200 "to watch growing files (using the F command within less) is lost. This is "
1201 "usually wanted for log files like syslog. To temporarily disengage "
1202 "B<lesspipe.sh> a colon as the last argument for B<less> needs to be added as "
1203 "e.g in"
1204 msgstr ""
1205 "De îndată ce B<lesspipe.sh> apelează un program pentru a converti datele de "
1206 "intrare, capacitatea de a urmări fișierele în creștere (utilizând comanda F "
1207 "din less) este pierdută. Acest lucru este de obicei dorit pentru fișiere de "
1208 "jurnal precum syslog. Pentru a dezactiva temporar B<lesspipe.sh> trebuie "
1209 "adăugate două puncte ca ultim argument pentru B<less> ca de exemplu în"
1210
1211 #. type: Plain text
1212 #: fedora-44 mageia-cauldron
1213 msgid ""
1214 "or B<less> can be called with the +F argument, which is equivalent to F "
1215 "within the pager:"
1216 msgstr ""
1217 "sau B<less> pot fi apelat cu argumentul +F, care este echivalent cu F în "
1218 "paginator:"
1219
1220 #. type: Plain text
1221 #: fedora-44
1222 msgid "B<less>I< +F /var/log/syslog>"
1223 msgstr "B<less>I< +F /var/log/syslog>"
1224
1225 #. type: Plain text
1226 #: fedora-44
1227 msgid ""
1228 "Appending a colon to the file name does not work, as then the filter has to "
1229 "be engaged to at least remove that colon and use cat for the original file."
1230 msgstr ""
1231 "Adăugarea a două puncte la numele fișierului nu funcționează, deoarece "
1232 "atunci filtrul trebuie să fie activat pentru a elimina cel puțin cele două "
1233 "puncte și pentru a utiliza «cat» pentru fișierul original."
1234
1235 #. type: Plain text
1236 #: fedora-44
1237 msgid "Copyright \\(co 2005-2025 Wolfgang Friebel"
1238 msgstr "Drepturi de autor \\(co 2005-2025 Wolfgang Friebel"
1239
1240 #. type: TH
1241 #: mageia-cauldron
1242 #, no-wrap
1243 msgid "August 2024"
1244 msgstr "august 2024"
1245
1246 #. type: Plain text
1247 #: mageia-cauldron
1248 msgid ""
1249 "With the help of that filter B<less> will display the uncompressed contents "
1250 "of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma or "
1251 "brotli>) files. For files containing archives and directories, a table of "
1252 "contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb "
1253 "ms-cabinet, iso, appimage and snap formats>). Many other files will be "
1254 "reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and "
1255 "Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> "
1256 "and I<media (image, audio and video)> formats. This does require helper "
1257 "programs being installed."
1258 msgstr ""
1259 "Cu ajutorul acestui filtru, B<less> va afișa conținutul necomprimat al "
1260 "fișierelor comprimate (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma "
1261 "sau brotli>). Pentru fișierele care conțin arhive și directoare (de exemplu, "
1262 "formatele I<tar>, I<ar>, I<zip>, I<7-zip>, I<rar>, I<jar>, I<cpio>, I<rpm>, "
1263 "I<deb>, I<ms-cabinet>, I<iso>, I<appimage> și I<snap>), se va afișa un tabel "
1264 "de conținut. Multe alte fișiere vor fi reformatate pentru afișare. Sunt "
1265 "incluse formatele I<pdf, dvi, markdown, suite Office (MS și Openoffice)>, "
1266 "I<NetCDF, matlab, device tree blob, html> și I<media (imagine, audio și "
1267 "video)>. Acesta necesită instalarea unor programe ajutătoare."
1268
1269 #. type: Plain text
1270 #: mageia-cauldron
1271 msgid "I<eval `lesspipe.sh`> (bash) or"
1272 msgstr "I<eval `lesspipe.sh`> (bash) sau"
1273
1274 #. type: Plain text
1275 #: mageia-cauldron
1276 msgid "I<lesspipe.sh|source /dev/stdin> (zsh)"
1277 msgstr "I<lesspipe.sh|source /dev/stdin> (zsh)"
1278
1279 #. type: Plain text
1280 #: mageia-cauldron
1281 msgid ""
1282 "Having set the environment variable as described above, B<less> :will then "
1283 "display textual information for a wide range of file formats."
1284 msgstr ""
1285 "După ce ați definit variabila de mediu în modul descris mai sus, B<less> va "
1286 "afișa informații textuale pentru o gamă largă de formate de fișiere."
1287
1288 #. type: Plain text
1289 #: mageia-cauldron
1290 msgid ""
1291 "B<LESSOPEN> starting with the two characters I<||> to handle empty files and "
1292 "command errors is implemented only partly, usually on failures of commands "
1293 "within B<lesspipe.sh> the error messages get displayed."
1294 msgstr ""
1295 "B<LESSOPEN> care începe cu cele două caractere I<||> pentru a gestiona "
1296 "fișierele goale și erorile de comandă este implementată doar parțial, de "
1297 "obicei la eșecurile comenzilor din B<lesspipe.sh> se afișează mesajele de "
1298 "eroare."
1299
1300 #. type: Plain text
1301 #: mageia-cauldron
1302 msgid "Example: I<less index.html:html>"
1303 msgstr "Exemplu: I<less index.html:html>"
1304
1305 # HK: Review range of I<>, I just remove one ">"
1306 # .
1307 # R-GC: Thanks, I have corrected the error.
1308 #. type: Plain text
1309 #: mageia-cauldron
1310 msgid "I<LESSCOLORIZER='pygmentize -O style=foo' (-P allowed as well)>"
1311 msgstr ""
1312 "I<LESSCOLORIZER='pygmentize -O style=foo' („-P” este permisă de asemenea)>"
1313
1314 # HK: Review range of I<>, I just remove one ">"
1315 # .
1316 # R-GC: Thanks, I have corrected the error.
1317 #. type: Plain text
1318 #: mageia-cauldron
1319 msgid ""
1320 "I<LESSCOLORIZER='bat --style=foo --theme=bar' (default is theme ansi, style "
1321 "plain)>"
1322 msgstr ""
1323 "I<LESSCOLORIZER='bat --style=foo --theme=bar' (implicit este tema „ansi”, "
1324 "stilul „plain”)>"
1325
1326 #. type: Plain text
1327 #: mageia-cauldron
1328 msgid ""
1329 "Syntax highlighting can be switched off by appending a colon after the file "
1330 "name, if the output was colorful. If the wrong language was chosen for "
1331 "syntax highlighting, then another one can be forced by appending a colon and "
1332 "a suffix to the file name."
1333 msgstr ""
1334 "Evidențierea sintaxei poate fi dezactivată prin adăugarea a două puncte după "
1335 "numele fișierului, dacă ieșirea a fost colorată. Dacă a fost aleasă un "
1336 "limbaj greșit pentru evidențierea sintaxei, atunci poate fi forțată un alt "
1337 "limbaj prin adăugarea a două puncte și a unui sufix după numele fișierului."
1338
1339 #. type: Plain text
1340 #: mageia-cauldron
1341 msgid ""
1342 "As B<less> is used as a default browser in other programs (e.g. I<man>, "
1343 "I<git>, and I<perldoc>)) B<lesspipe.sh> may be engaged and alter the output "
1344 "of those programs."
1345 msgstr ""
1346 "Deoarece B<less> este utilizat ca navigator implicit în alte programe (de "
1347 "exemplu, I<man>, I<git> și I<perldoc>)) B<lesspipe.sh> poate fi angajat și "
1348 "poate modifica rezultatul acestor programe."
1349
1350 #. type: Plain text
1351 #: mageia-cauldron
1352 msgid "I<less /var/log/syslog :>"
1353 msgstr "I<less /var/log/syslog :>"
1354
1355 #. type: Plain text
1356 #: mageia-cauldron
1357 msgid "I<less +F /var/log/syslog>"
1358 msgstr "I<less +F /var/log/syslog>"
1359
1360 #. type: Plain text
1361 #: mageia-cauldron
1362 msgid ""
1363 "Appending a colon to the file name does not work, as then the filter has to "
1364 "be engaged to at least remove that colon and use cat for the original file. "
1365 "On the other hand non growing log files can be colorized using B<ccze>. Its "
1366 "recognition as a log file is difficult if not ending in I<.log> but can be "
1367 "forced appending B<:.log> to the file name as e.g in"
1368 msgstr ""
1369 "Adăugarea a două puncte la numele fișierului nu funcționează, deoarece "
1370 "atunci filtrul trebuie să fie activat pentru a elimina cel puțin cele două "
1371 "puncte și pentru a utiliza «cat» pentru fișierul original. Pe de altă parte, "
1372 "fișierele jurnal care nu cresc pot fi colorate folosind B<ccze>. "
1373 "Recunoașterea sa ca fișier jurnal este dificilă dacă nu se termină în "
1374 "I<.log>, dar poate fi forțată prin adăugarea B<:.log> la numele fișierului, "
1375 "ca de exemplu în"
1376
1377 #. type: Plain text
1378 #: mageia-cauldron
1379 msgid "I<less /var/log/syslog:.log>"
1380 msgstr "I<less /var/log/syslog:.log>"
1381
1382 #. type: Plain text
1383 #: mageia-cauldron
1384 msgid ""
1385 "With the provided I<lesscomplete> (for B<zsh> and B<bash>), I<_less> (for "
1386 "B<zsh>) and I<less_completion> (for B<bash>) files a tab completion for "
1387 "files in archives can be accomplished. Entering a colon (:) or an equal "
1388 "sign (=) after an archive file name and then pressing the tab key triggers "
1389 "the completion mechanism. This also works in chained archives. The files "
1390 "I<lesscomplete> and I<less_completion> have to be in one of the directories "
1391 "listed in B<$PATH> and the function I<_less> for B<zsh> in a directory "
1392 "listed by I<$fpath>. The less_completion script has to be sourced within a "
1393 "bash initialization script, e.g. in I<~/.bashrc>. New directories such as "
1394 "I<~/scripts> and I<~/.fpath> can be added using the commands"
1395 msgstr ""
1396 "Cu ajutorul fișierelor I<lesscomplete> (pentru B<zsh> și B<bash>), I<_less> "
1397 "(pentru B<zsh>) și I<less_completion> (pentru B<bash>) furnizate, se poate "
1398 "realiza o completare a numelui cu ajutorul tastei «TAB» pentru fișierele din "
1399 "arhive. Introducerea a două puncte (:) sau a unui semn egal (=) după numele "
1400 "unui fișier de arhivă și apoi apăsarea tastei de tabulare declanșează "
1401 "mecanismul de completare. Acest lucru funcționează și în arhivele "
1402 "înlănțuite. Fișierele I<lesscomplete> și I<less_completare> trebuie să se "
1403 "afle într-unul dintre directoarele enumerate în B<$PATH>, iar funcția "
1404 "I<_less> pentru B<zsh> într-un director enumerat de I<$fpath>. Scriptul "
1405 "less_completion trebuie să aibă ca sursă un script de inițializare bash, de "
1406 "exemplu, în I<~/.bashrc>. Se pot adăuga directoare noi, cum ar fi I<~/"
1407 "scripts> și I<~/.fpath>, utilizând comenzile"
1408
1409 #. type: Plain text
1410 #: mageia-cauldron
1411 msgid "B<PATH>=I<~/scripts:$PATH> and B<fpath>=I<(~/.fpath $fpath)>"
1412 msgstr "B<PATH>=I<~/scripts:$PATH> și B<fpath>=I<(~/.fpath $fpath)>"
1413
1414 #. type: Plain text
1415 #: mageia-cauldron
1416 msgid ""
1417 "This mechanism can be used to add filtering for new formats or e.g. inhibit "
1418 "filtering for certain file types."
1419 msgstr ""
1420 "Acest mecanism poate fi utilizat pentru a adăuga filtre pentru noi formate "
1421 "sau, de exemplu, pentru a inhiba filtrarea pentru anumite tipuri de fișiere."
1422
1423 #. type: Plain text
1424 #: mageia-cauldron
1425 msgid "Copyright \\(co 2005-2024 Wolfgang Friebel"
1426 msgstr "Drepturi de autor \\(co 2005-2024 Wolfgang Friebel"
1427
1428 #. type: Plain text
1429 #: mageia-cauldron
1430 msgid ""
1431 "A description of B<lesspipe.sh> is also contained in the file README "
1432 "contained in the source code package"
1433 msgstr ""
1434 "O descriere a B<lesspipe.sh> este, de asemenea, conținută în fișierul README "
1435 "conținut în pachetul de cod sursă"