Debian Codegraph @

po/ar/man1/lesspipe.1.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 4.30.2\n"
9 "POT-Creation-Date: 2026-06-05 06:29+0200\n"
10 "PO-Revision-Date: 2026-06-05 22:50+0400\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&"
18 " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\n"
20
21 #. type: TH
22 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
23 #, no-wrap
24 msgid "LESSPIPE.SH"
25 msgstr "LESSPIPE.SH"
26
27 #. type: TH
28 #: archlinux fedora-rawhide
29 #, no-wrap
30 msgid "April 2026"
31 msgstr "أبريل 2026"
32
33 #. type: TH
34 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
35 #, no-wrap
36 msgid "lesspipe.sh"
37 msgstr "lesspipe.sh"
38
39 #. type: TH
40 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
41 #, no-wrap
42 msgid "User Commands"
43 msgstr "أوامر المستخدم"
44
45 #. #-#-#-#-# archlinux: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
46 #. type: SH
47 #. #-#-#-#-# debian-trixie: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
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 #. #-#-#-#-# debian-unstable: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
52 #. NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
53 #. other parms are allowed: see man(7), man(1)
54 #. type: SH
55 #. #-#-#-#-# fedora-44: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
56 #. type: SH
57 #. #-#-#-#-# fedora-rawhide: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
58 #. type: SH
59 #. #-#-#-#-# mageia-cauldron: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-#
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron
63 #, no-wrap
64 msgid "NAME"
65 msgstr "الاسم"
66
67 #. type: Plain text
68 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
69 msgid "lesspipe.sh - a filter for less"
70 msgstr "lesspipe.sh - مرشح لـ less"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "موجز"
78
79 #. type: Plain text
80 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
81 msgid "B<lesspipe.sh> [I<FILE[s]>]..."
82 msgstr "B<lesspipe.sh> [I<ملف[ات]>]..."
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron
87 #, no-wrap
88 msgid "DESCRIPTION"
89 msgstr "الوصف"
90
91 #. type: Plain text
92 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
93 msgid ""
94 "The aim of B<lesspipe.sh> is to enhance the output of B<less>. The choice of "
95 "the rules to be applied to modify the output are based on the file "
96 "contents. The file extension is respected only as a last resort. Usually "
97 "B<lesspipe.sh> is called as an input filter to B<less>."
98 msgstr ""
99 "الهدف من B<lesspipe.sh> هو تحسين مخرجات B<less>. يعتمد اختيار القواعد "
100 "المطبقة لتعديل المخرجات على محتويات الملف. يُراعى امتداد الملف فقط كملاذ "
101 "أخير. عادةً يُستدعى B<lesspipe.sh> كمرشح إدخال لـ B<less>."
102
103 #. type: Plain text
104 #: archlinux fedora-44 fedora-rawhide
105 msgid ""
106 "With the help of that filter B<less> will display the uncompressed contents "
107 "of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma, zlib or "
108 "brotli>) files. For files containing archives and directories, a table of "
109 "contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb "
110 "ms-cabinet, iso, dmg, appimage and snap formats>). Many other files will be "
111 "reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and "
112 "Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> "
113 "and I<media (image, audio and video)> formats. This does require helper "
114 "programs being installed."
115 msgstr ""
116 "بمساعدة هذا المرشح، يعرض B<less> المحتويات غير المضغوطة للملفات المضغوطة "
117 "(I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma, zlib أو brotli>). "
118 "للملفات التي تحتوي على أرشيفات وأدلة، يُعرض جدول محتويات (I<tar, ar, zip, 7-"
119 "zip, rar, jar, cpio, rpm, deb ms-cabinet, iso, dmg, appimage وصيغ snap>). "
120 "تُعاد تنسيق العديد من الملفات الأخرى للعرض. يتضمن ذلك صيغ I<pdf, dvi, "
121 "markdown, Office (MS و Openoffice)>، وصيغ I<NetCDF, matlab, device tree "
122 "blob, html, xml> وصيغ I<الوسائط (صورة، صوت وفيديو)>. يتطلب هذا تثبيت برامج "
123 "مساعدة."
124
125 #. type: Plain text
126 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
127 msgid ""
128 "The filter can also be applied recursively to extract and display files in "
129 "archives on the fly. This works to a depth of 6 where applying a "
130 "decompression algorithm counts as a separate level."
131 msgstr ""
132 "يمكن أيضًا تطبيق المرشح بشكل متكرر لاستخراج وعرض الملفات في الأرشيفات أثناء "
133 "التشغيل. يعمل هذا حتى عمق 6 حيث يُعتبر تطبيق خوارزمية فك الضغط مستوى منفصلًا."
134
135 #. type: Plain text
136 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
137 msgid ""
138 "If the file utility reports text with an encoding different from the one "
139 "used in the terminal then the text will be transformed using I<iconv> into "
140 "the default encoding. This does assume the I<file> command gets the file "
141 "encoding right, which can be wrong in some situations. An appended colon to "
142 "the file name does suppress the conversion."
143 msgstr ""
144 "إذا أبلغت أداة الملف عن نص بترميز مختلف عن المستخدم في الطرفية، يُحول النص "
145 "باستخدام I<iconv> إلى الترميز المبدئي. يفترض هذا أن أمر I<file> يحصل على "
146 "ترميز الملف بشكل صحيح، وهو ما قد يكون خاطئًا في بعض الحالات. يؤدي إلحاق "
147 "نقطتين باسم الملف إلى منع التحويل."
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 "عند استخدام البرامج B<git> أو B<vim> أو B<mutt>، يمكن تمكينها لقراءة الملفات "
157 "غير النصية باستخدام lesspipe.sh. هذا موصوف في الويكي على I<https://github."
158 "com/wofr06/lesspipe/wiki>."
159
160 #. type: SH
161 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
162 #, no-wrap
163 msgid "FILTER ACTIVATION"
164 msgstr "تفعيل المرشح"
165
166 #. type: Plain text
167 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
168 msgid ""
169 "The filter is called from B<less> provided the environment variable "
170 "B<LESSOPEN> is set properly. For ksh like shells (I<bash, zsh>) the command"
171 msgstr ""
172 "يُستدعى المرشح من B<less> بشرط ضبط المتغير البيئي B<LESSOPEN> بشكل صحيح. "
173 "للأصداف المشابهة لـ ksh (I<bash, zsh>)، الأمر"
174
175 #. type: Plain text
176 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
177 msgid "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>"
178 msgstr "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>"
179
180 #. type: Plain text
181 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
182 msgid ""
183 "does activate the filter for less. Use the fully qualified path, if "
184 "B<lesspipe.sh> is not in the search path. The command to set B<LESSOPEN> can "
185 "also be displayed by calling B<lesspipe.sh> without arguments. This can "
186 "even be used to set B<LESSOPEN> directly:"
187 msgstr ""
188 "يفعل المرشح لـ less. استخدم المسار الكامل إذا لم يكن B<lesspipe.sh> في مسار "
189 "البحث. يمكن أيضًا عرض الأمر لضبط B<LESSOPEN> باستدعاء B<lesspipe.sh> بدون "
190 "وسائط. يمكن استخدام هذا حتى لضبط B<LESSOPEN> مباشرة:"
191
192 #. type: Plain text
193 #: archlinux fedora-44 fedora-rawhide
194 #, no-wrap
195 msgid ""
196 "I<eval `lesspipe.sh`>\n"
197 "(bash) or\n"
198 "I<lesspipe.sh|source /dev/stdin>\n"
199 "(zsh)\n"
200 msgstr ""
201 "I<eval `lesspipe.sh`>\n"
202 "(bash) or\n"
203 "I<lesspipe.sh|source /dev/stdin>\n"
204 "(zsh)\n"
205
206 #. type: Plain text
207 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
208 msgid ""
209 "The above commands work only in the described manner if the file name is "
210 "B<lesspipe.sh>. If it is installed under a different name then calling it "
211 "without an argument will work as a filter with B<LESSQUIET> set and "
212 "expecting input from STDIN."
213 msgstr ""
214 "تعمل الأوامر أعلاه فقط بالطريقة الموصوفة إذا كان اسم الملف هو B<lesspipe."
215 "sh>. إذا تم تثبيته باسم مختلف، فإن استدعاءه بدون وسيطة يعمل كمرشح مع ضبط "
216 "B<LESSQUIET> وتوقع إدخال من STDIN."
217
218 #. type: Plain text
219 #: archlinux fedora-44 fedora-rawhide
220 msgid ""
221 "Having set the environment variable as described above, B<less> will then "
222 "display textual information for a wide range of file formats."
223 msgstr ""
224 "بعد ضبط المتغير البيئي كما هو موصوف أعلاه، يعرض B<less> معلومات نصية لمجموعة "
225 "واسعة من صيغ الملفات."
226
227 #. type: Plain text
228 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
229 msgid "The filter is normally not called if input is piped to less as in"
230 msgstr "لا يُستدعى المرشح عادةً إذا تم توجيه الإدخال إلى less كما في"
231
232 #. type: Plain text
233 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
234 msgid "I<cat somefile | less>"
235 msgstr "I<cat somefile | less>"
236
237 #. type: Plain text
238 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
239 msgid ""
240 "As described in the man page of less, the filtering in a pipe can however be "
241 "forced by starting B<LESSOPEN> with the characters I<|->."
242 msgstr ""
243 "كما هو موصوف في دليل less، يمكن فرض الترشيح في أنبوب ببدء B<LESSOPEN> "
244 "بالأحرف I<|->."
245
246 #. type: Plain text
247 #: archlinux fedora-44 fedora-rawhide
248 msgid ""
249 "If commands within B<lesspipe.sh> do fail, in some cases the error messages "
250 "get displayed, this is a regarded buggy behavior and should be reported."
251 msgstr ""
252 "إذا فشلت الأوامر داخل B<lesspipe.sh>، في بعض الحالات تُعرض رسائل الخطأ، هذا "
253 "يُعتبر سلوكًا معيبًا ويجب الإبلاغ عنه."
254
255 #. type: Plain text
256 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
257 msgid ""
258 "To suppress informal messages in the first line of the filter output the ENV "
259 "variable B<LESSQUIET> can be set to a nonempty value."
260 msgstr ""
261 "لقمع الرسائل غير الرسمية في السطر الأول من مخرجات المرشح، يمكن ضبط المتغير "
262 "البيئي B<LESSQUIET> إلى قيمة غير فارغة."
263
264 #. type: Plain text
265 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
266 msgid ""
267 "To disengage the filter temporarily a colon can be appended to the file "
268 "name. If the file name contains a colon, then an equal sign should be used "
269 "instead."
270 msgstr ""
271 "لفصل المرشح مؤقتًا، يمكن إلحاق نقطتين باسم الملف. إذا كان اسم الملف يحتوي على "
272 "نقطتين، فيجب استخدام علامة يساوي بدلاً من ذلك."
273
274 #. type: SH
275 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
276 #, no-wrap
277 msgid "HTML, XML and Perl POD Files"
278 msgstr "ملفات HTML و XML و Perl POD"
279
280 #. type: Plain text
281 #: archlinux fedora-rawhide
282 msgid ""
283 "Files in the I<html> and I<perl pod> format are always rendered. Sometimes "
284 "however the original contents of the file should be viewed instead. As "
285 "mentioned before that can be achieved by appending a colon to the file name. "
286 "If the correct file type (I<html>, I<pod>) follows, the output can get "
287 "colorized (see also the section below)."
288 msgstr ""
289 "تُعرض الملفات بصيغة I<html> و I<perl pod> دائمًا. لكن في بعض الأحيان يجب عرض "
290 "المحتويات الأصلية للملف بدلاً من ذلك. كما ذُكر سابقًا، يمكن تحقيق ذلك بإلحاق "
291 "نقطتين باسم الملف. إذا تبعه نوع الملف الصحيح (I<html>، I<pod>)، يمكن تلوين "
292 "المخرجات (انظر أيضًا القسم أدناه)."
293
294 #. type: Plain text
295 #: archlinux fedora-44 fedora-rawhide
296 msgid "Example: B<less> I<index.html:html>"
297 msgstr "مثال: B<less> I<index.html:html>"
298
299 #. type: Plain text
300 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
301 msgid ""
302 "If the binary I<xmq> is installed, then I<xml> is rendered differently, so "
303 "that the xml structure is better recognized. A similar display for I<html> "
304 "contents using I<xmq> is achieved by appending a colon to the file name. To "
305 "get the original html file contents, two colons are required in this case."
306 msgstr ""
307 "إذا تم تثبيت الثنائي I<xmq>، يُعرض I<xml> بشكل مختلف، بحيث يُتعرف على بنية"
308 " xml "
309 "بشكل أفضل. يُحقق عرض مماثل لمحتويات I<html> باستخدام I<xmq> بإلحاق نقطتين "
310 "باسم الملف. للحصول على محتويات ملف html الأصلية، يلزم نقطتان في هذه الحالة."
311
312 #. type: SH
313 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
314 #, no-wrap
315 msgid "OUTPUT COLORIZATION"
316 msgstr "تلوين المخرجات"
317
318 #. type: Plain text
319 #: archlinux fedora-rawhide
320 #| msgid ""
321 #| "The filter is able to do syntax highlighting for a wide variety of file "
322 #| "types. If installed, I<nvimpager> is used for colorizing the output. If "
323 #| "not, I<bat>/I<batcat>, I<pygmentize>, I<source-highlight>, I<vimcolor> "
324 #| "and I<code2color> are tried in turn. For bat/batcat the theme is set to "
325 #| "I<ansi> and the style is set to I<plain> which comes closer to the "
326 #| "unfiltered output of B<less>. These settings can be changed in I<~/."
327 #| "config/bat/config> or by the environment variables B<BAT_STYLE> and "
328 #| "B<BAT_THEME>."
329 msgid ""
330 "The filter is able to do syntax highlighting for a wide variety of file "
331 "types. If installed, I<nvimpager> is used for colorizing the output. If not, "
332 "I<bat>/I<batcat>, I<pygmentize>, I<e2ansi-cat>, I<source-highlight>, "
333 "I<vimcolor> and I<code2color> are tried in turn. For bat/batcat the theme "
334 "is set to I<ansi> and the style is set to I<plain> which comes closer to the "
335 "unfiltered output of B<less>. These settings can be changed in I<~/.config/"
336 "bat/config> or by the environment variables B<BAT_STYLE> and B<BAT_THEME>."
337 msgstr ""
338 "المرشح قادر على إجراء تمييز نحوي لمجموعة واسعة من أنواع الملفات. إذا تم "
339 "تثبيته، يُستخدم I<nvimpager> لتلوين المخرجات. إذا لم يكن، تُجرب I<bat>/"
340 "I<batcat> و I<pygmentize> و I<e2ansi-cat> و I<source-highlight> و I<vimcolor>"
341 " و "
342 "I<code2color> بدورها. لـ bat/batcat، يُضبط السمة إلى I<ansi> والنمط إلى "
343 "I<plain> الذي يقترب من المخرجات غير المرشحة لـ B<less>. يمكن تغيير هذه "
344 "الإعدادات في I<~/.config/bat/config> أو بواسطة المتغيرات البيئية "
345 "B<BAT_STYLE> و B<BAT_THEME>."
346
347 #. type: Plain text
348 #: archlinux fedora-rawhide
349 msgid ""
350 "The contents of log files can get colorized if the I<tspin> program is "
351 "installed and the string \":log\" is appended to the file name or the file "
352 "extension is \"log\"."
353 msgstr ""
354 "يمكن تلوين محتويات ملفات السجل إذا تم تثبيت برنامج I<tspin> وتم إلحاق "
355 "السلسلة \":log\" باسم الملف أو كان امتداد الملف هو \"log\"."
356
357 #. type: Plain text
358 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
359 msgid ""
360 "Among the colorizers a preferred one can be forced for colorizing by setting "
361 "the ENV variable B<LESSCOLORIZER> to the name of the colorizer. For "
362 "I<pygmentize> and I<bat>/I<batcat> restricted option settings are allowed as "
363 "follows:"
364 msgstr ""
365 "بين الملونات، يمكن فرض مفضل للتلوين بضبط المتغير البيئي B<LESSCOLORIZER> إلى "
366 "اسم الملون. لـ I<pygmentize> و I<bat>/I<batcat>، يُسمح بإعدادات خيارات مقيدة "
367 "كما يلي:"
368
369 #. type: Plain text
370 #: archlinux fedora-44 fedora-rawhide
371 #, no-wrap
372 msgid ""
373 "I<LESSCOLORIZER='pygmentize -O style=foo' # -P allowed as well>\n"
374 "I<LESSCOLORIZER='bat --style=foo --theme=bar' # default: theme=ansi,"
375 " style=plain>\n"
376 msgstr ""
377 "I<LESSCOLORIZER='pygmentize -O style=foo' # -P allowed as well>\n"
378 "I<LESSCOLORIZER='bat --style=foo --theme=bar' # default: theme=ansi,"
379 " style=plain>\n"
380
381 #. type: Plain text
382 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
383 msgid ""
384 "Syntax highlighting is activated, if the environment variable B<LESS> exists "
385 "and contains the option I<-R> or less is called with this option. This "
386 "guarantees that escape sequences get converted into colors and do not garble "
387 "the display. Using the option I<-r> is not recommended, as the screen layout "
388 "may be wrong, if long lines are in the output."
389 msgstr ""
390 "يُفعّل تظليل الصياغة إذا وُجد متغير البيئة B<LESS> واحتوى على الخيار I<-R> أو "
391 "استُدعي less بهذا الخيار. يضمن هذا تحويل تسلسلات الهروب إلى ألوان دون تشويه "
392 "العرض. لا يُوصى باستخدام الخيار I<-r>، لأن تخطيط الشاشة قد يكون خاطئًا إذا "
393 "وُجدت أسطر طويلة في المخرجات."
394
395 #. type: Plain text
396 #: archlinux fedora-44 fedora-rawhide
397 msgid ""
398 "Syntax highlighting can be switched off by appending a colon after the file "
399 "name, if the output was colorful. If the wrong language was chosen for "
400 "syntax highlighting, then another one can be forced by appending a colon and "
401 "a suffix to the file name. The list of suffixes and supported languages can "
402 "be printed using the following colorizer commands:"
403 msgstr ""
404 "يمكن إيقاف تظليل الصياغة بإلحاق نقطتين بعد اسم الملف، إذا كانت المخرجات "
405 "ملونة. إذا اختيرت لغة خاطئة لتظليل الصياغة، فيمكن فرض لغة أخرى بإلحاق نقطتين "
406 "ولاحقة باسم الملف. يمكن طباعة قائمة اللواحق واللغات المدعومة باستخدام أوامر "
407 "الملون التالية:"
408
409 #. type: Plain text
410 #: archlinux fedora-rawhide
411 #, no-wrap
412 #| msgid ""
413 #| "I<bat --list-languages>\n"
414 #| "I<batcat --list-languages>\n"
415 #| "I<pygmentize -L lexers>\n"
416 #| "I<source-highlight --lang-list>\n"
417 #| "I<code2color -h>\n"
418 #| "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
419 msgid ""
420 "I<bat --list-languages>\n"
421 "I<batcat --list-languages>\n"
422 "I<pygmentize -L lexers>\n"
423 "I<M-x -mode [TAB] within emacs>\n"
424 "I<source-highlight --lang-list>\n"
425 "I<code2color -h>\n"
426 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
427 msgstr ""
428 "I<bat --list-languages>\n"
429 "I<batcat --list-languages>\n"
430 "I<pygmentize -L lexers>\n"
431 "I<M-x -mode [TAB] within emacs>\n"
432 "I<source-highlight --lang-list>\n"
433 "I<code2color -h>\n"
434 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
435
436 #. type: Plain text
437 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
438 msgid ""
439 "In a pipe that method cannot be used. As a way out a last argument can be "
440 "added that gets inspected by B<lesspipe.sh>. A single colon (disengage "
441 "filter) or :extension (force language) is possible as e.g with"
442 msgstr ""
443 "في أنبوب لا يمكن استخدام تلك الطريقة. كمخرج يمكن إضافة وسيطة أخيرة تُفحص "
444 "بواسطة B<lesspipe.sh>. نقطتان مفردة (إلغاء المرشح) أو :extension (فرض لغة) "
445 "ممكنة كما في مثال"
446
447 #. type: Plain text
448 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
449 msgid "I<command that generates c code | less - :c>"
450 msgstr "I<command that generates c code | less - :c>"
451
452 #. type: Plain text
453 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
454 msgid ""
455 "When the conditions for syntax highlighting are met directory listings and "
456 "listings of tar file contents get colorized as well."
457 msgstr ""
458 "عند استيفاء شروط تظليل الصياغة، تُلون قوائم الدلائل وقوائم محتويات ملفات tar "
459 "أيضًا."
460
461 #. type: Plain text
462 #: archlinux fedora-44 fedora-rawhide
463 msgid ""
464 "As B<less> is used as a default browser in other programs (e.g. I<man>, "
465 "I<git>, and I<perldoc>) B<lesspipe.sh> may be engaged and alter the output "
466 "of those programs."
467 msgstr ""
468 "بما أن B<less> يُستخدم كمتصفح مبدئي في برامج أخرى (مثل I<man> وI<git> "
469 "وI<perldoc>) فقد يُشرك B<lesspipe.sh> ويُغير مخرجات تلك البرامج."
470
471 #. type: SH
472 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
473 #, no-wrap
474 msgid "WATCHING GROWING FILES"
475 msgstr "مراقبة الملفات المتنامية"
476
477 #. type: Plain text
478 #: archlinux fedora-rawhide
479 msgid ""
480 "The ability to watch growing files (usually wanted for log files like "
481 "syslog) (using the F command within less or calling less with the +F "
482 "option) may get lost if B<lesspipe.sh> stores the input in a temporary file "
483 "for further processing. That can be repaired by adding a colon as the last "
484 "argument for B<less> such as e.g."
485 msgstr ""
486 "قد تُفقد القدرة على مراقبة الملفات المتنامية (المطلوبة عادة لملفات السجل مثل "
487 "syslog) (باستخدام أمر F داخل less أو استدعاء less بالخيار +F) إذا خزّن "
488 "B<lesspipe.sh> الإدخال في ملف مؤقت لمزيد من المعالجة. يمكن إصلاح ذلك بإضافة "
489 "نقطتين كوسيطة أخيرة لـ B<less> مثل"
490
491 #. type: Plain text
492 #: archlinux fedora-44 fedora-rawhide
493 msgid "B<less>I< /var/log/syslog :>"
494 msgstr "B<less>I< /var/log/syslog :>"
495
496 #. type: Plain text
497 #: archlinux fedora-rawhide
498 msgid "or if LESSOPEN starts with |- and less is called in a pipe"
499 msgstr "أو إذا بدأ LESSOPEN بـ |- واستُدعي less في أنبوب"
500
501 #. type: Plain text
502 #: archlinux fedora-rawhide
503 msgid "B<cat>I< /var/log/syslog | less +F - :>"
504 msgstr "B<cat>I< /var/log/syslog | less +F - :>"
505
506 #. type: SH
507 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
508 #, no-wrap
509 msgid "ADVANCED USAGE"
510 msgstr "استخدام متقدم"
511
512 #. type: Plain text
513 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
514 msgid ""
515 "This version of B<lesspipe.sh> allows you to view individual files contained "
516 "in a file archive, which itself may even be contained in another archive."
517 msgstr ""
518 "تسمح لك هذه النسخة من B<lesspipe.sh> بعرض ملفات فردية محتواة في أرشيف ملفات، "
519 "والذي قد يكون هو نفسه محتوى في أرشيف آخر."
520
521 #. type: Plain text
522 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
523 msgid "The notation for viewing files in multifile archives is"
524 msgstr "الترميز لعرض الملفات في أرشيفات متعددة الملفات هو"
525
526 #. type: Plain text
527 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
528 msgid "B<less> I<archive_file>:I<contained_file>"
529 msgstr "B<less> I<archive_file>:I<contained_file>"
530
531 #. type: Plain text
532 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
533 msgid "or even"
534 msgstr "أو حتى"
535
536 #. type: Plain text
537 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
538 msgid "B<less> I<super_archive>:I<archive_file>:I<contained_file>"
539 msgstr "B<less> I<super_archive>:I<archive_file>:I<contained_file>"
540
541 #. type: Plain text
542 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
543 msgid ""
544 "To display the last file in the chain raw format, a colon (I<:>) has to be "
545 "appended to the file name. If it does contain a colon, then the alternate "
546 "separator character equal sign (I<=>) has to be used."
547 msgstr ""
548 "لعرض آخر ملف في السلسلة بصيغة خام، يجب إلحاق نقطتين (I<:>) باسم الملف. إذا "
549 "احتوى على نقطتين، فيجب استخدام حرف الفاصل البديل علامة المساواة (I<=>)."
550
551 #. type: Plain text
552 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
553 msgid ""
554 "Again, this method of extracting and displaying files does not work if "
555 "B<less> is called in an output pipe and B<LESSOPEN> starts with the B<|-> "
556 "characters. As already for syntax highlighting the solution is to use a "
557 "second argument that starts with a colon. Then the above command would be "
558 "written as"
559 msgstr ""
560 "مرة أخرى، لا تعمل هذه الطريقة لاستخراج وعرض الملفات إذا استُدعي B<less> في "
561 "أنبوب مخرجات وبدأ B<LESSOPEN> بالحرفين B<|->. كما هو الحال مع تظليل الصياغة، "
562 "الحل هو استخدام وسيطة ثانية تبدأ بنقطتين. عندها يُكتب الأمر أعلاه كالتالي"
563
564 #. type: Plain text
565 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
566 msgid "B<cat >I<super_archive>B< | less - :>I<archive>B<:>I<contained_file>"
567 msgstr "B<cat >I<super_archive>B< | less - :>I<archive>B<:>I<contained_file>"
568
569 #. type: SH
570 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
571 #, no-wrap
572 msgid "COMPLETING MECHANISM FOR ARCHIVE CONTENTS"
573 msgstr "آلية الإكمال لمحتويات الأرشيف"
574
575 #. type: Plain text
576 #: archlinux fedora-44 fedora-rawhide
577 msgid ""
578 "With the provided I<lesscomplete> file (for B<zsh> and B<bash>) and the "
579 "I<_less> (for B<zsh>) and I<less> (for B<bash>) files generated during "
580 "installation a tab completion for files in archives can be accomplished. "
581 "Entering a colon (:) or an equal sign (=) after an archive file name and "
582 "then pressing the tab key triggers the completion mechanism. This also "
583 "works in chained archives. The files required for the completion algorithm "
584 "get installed in directories according the choices made during the "
585 "installation (configure script)."
586 msgstr ""
587 "باستخدام ملف I<lesscomplete> المقدم (لـ B<zsh> وB<bash>) والملفات I<_less> "
588 "(لـ B<zsh>) وI<less> (لـ B<bash>) المولدة أثناء التثبيت، يمكن تحقيق إكمال "
589 "بعلامة التبويب للملفات في الأرشيفات. إدخال نقطتين (:) أو علامة مساواة (=) "
590 "بعد اسم ملف أرشيف ثم الضغط على مفتاح التبويب يُشغل آلية الإكمال. يعمل هذا "
591 "أيضًا في الأرشيفات المتسلسلة. تُثبت الملفات المطلوبة لخوارزمية الإكمال في "
592 "الدلائل وفقًا للخيارات المتخذة أثناء التثبيت (نص configure)."
593
594 #. type: Plain text
595 #: archlinux fedora-44 fedora-rawhide
596 msgid ""
597 "The file I<lesscomplete> has to be in one of the directories listed in "
598 "B<$PATH> and the function I<_less> for B<zsh> in a directory listed by "
599 "I<$fpath>. The file I<less> with completion instructions for bash has to be "
600 "sourced within a bash initialization script, e.g. in I<~/.bashrc>. New "
601 "directories such as I<~/scripts> and I<~/.fpath> (for zsh) can be added "
602 "using the commands"
603 msgstr ""
604 "يجب أن يكون ملف I<lesscomplete> في أحد الدلائل المدرجة في B<$PATH> والدالة "
605 "I<_less> لـ B<zsh> في دليل مدرج بواسطة I<$fpath>. يجب استيراد ملف I<less> مع "
606 "تعليمات الإكمال لـ bash داخل نص تهيئة bash، مثل I<~/.bashrc>. يمكن إضافة "
607 "دلائل جديدة مثل I<~/scripts> وI<~/.fpath> (لـ zsh) باستخدام الأوامر"
608
609 #. type: Plain text
610 #: archlinux fedora-44 fedora-rawhide
611 msgid ""
612 "B<PATH>=I<~/scripts:$PATH> # (lesspipe.sh, less) and B<fpath>=I<(~/.fpath "
613 "$fpath)> # (_less, zsh only)"
614 msgstr ""
615 "B<PATH>=I<~/scripts:$PATH> # (lesspipe.sh, less) وB<fpath>=I<(~/.fpath "
616 "$fpath)> # (_less، zsh فقط)"
617
618 #. type: Plain text
619 #: archlinux fedora-44 fedora-rawhide
620 msgid ""
621 "In B<zsh>, I<compinit> has to be called and the menucomplete option has to "
622 "be set if not yet done. That can be achieved with the commands"
623 msgstr ""
624 "في B<zsh>، يجب استدعاء I<compinit> وتعيين خيار menucomplete إذا لم يُفعل بعد. "
625 "يمكن تحقيق ذلك بالأوامر"
626
627 #. type: Plain text
628 #: archlinux fedora-44 fedora-rawhide
629 #, no-wrap
630 msgid ""
631 "I<autoload compinit>\n"
632 "I<compinit -Uz>\n"
633 "I<setopt menucomplete>\n"
634 msgstr ""
635 "I<autoload compinit>\n"
636 "I<compinit -Uz>\n"
637 "I<setopt menucomplete>\n"
638
639 #. type: Plain text
640 #: archlinux fedora-44 fedora-rawhide
641 msgid ""
642 "In B<bash>, the I<bash-completion> (usually a package with that name) has "
643 "to be installed"
644 msgstr "في B<bash>، يجب تثبيت I<bash-completion> (عادة حزمة بهذا الاسم)"
645
646 #. type: SH
647 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
648 #, no-wrap
649 msgid "USER DEFINED FILTERING"
650 msgstr "الترشيح المعرف من قبل المستخدم"
651
652 #. type: Plain text
653 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
654 msgid ""
655 "The lesspipe.sh filtering can be replaced or enhanced by a user defined "
656 "program. Such a program has to be called either B<.lessfilter> (and be "
657 "placed in the users home directory), or B<lessfilter> (and be accessible "
658 "from a directory mentioned in B<$PATH>). It has to be executable and has to "
659 "end with an exit code 0, if the filtering was done within that script. "
660 "Otherwise, a nonzero exit code means the filtering is left to lesspipe.sh."
661 msgstr ""
662 "يمكن استبدال أو تحسين ترشيح lesspipe.sh بواسطة برنامج معرف من قبل المستخدم. "
663 "يجب أن يُسمى هذا البرنامج إما B<.lessfilter> (ويوضع في الدليل الرئيسي "
664 "للمستخدم)، أو B<lessfilter> (ويكون قابلاً للوصول من دليل مذكور في B<$PATH>). "
665 "يجب أن يكون قابلاً للتنفيذ وينتهي برمز خروج 0 إذا تم الترشيح داخل هذا "
666 "السكريبت. وإلا، فإن رمز الخروج غير الصفري يعني أن الترشيح يُترك لـ lesspipe."
667 "sh."
668
669 #. type: Plain text
670 #: archlinux fedora-44 fedora-rawhide
671 msgid ""
672 "This mechanism can be used to add filtering for new formats or e.g. inhibit "
673 "filtering for certain file types. A sample .lessfilter could look as follows:"
674 msgstr ""
675 "يمكن استخدام هذه الآلية لإضافة ترشيح لتنسيقات جديدة أو مثلاً تثبيط الترشيح "
676 "لأنواع ملفات معينة. يمكن أن يبدو نموذج .lessfilter كالتالي:"
677
678 #. type: Plain text
679 #: archlinux fedora-44 fedora-rawhide
680 #, no-wrap
681 msgid ""
682 "I<#!/usr/bin/env bash>\n"
683 "I<case $1 in>\n"
684 "I<*.md|*.MD|*.mkd|*.markdown|*.rst)>\n"
685 "I<# if the python module rich.markdown is not found then>\n"
686 "I<# the exit code is not null and lesspipe.sh is called>\n"
687 "I<python3 -m rich.markdown -c $1 ;;>\n"
688 "I<*.html|*.htm)>\n"
689 "I<# call your favorite html beautifier, cat -b is just a boring example>\n"
690 "I<cat -b $1 ;;>\n"
691 "I<*)>\n"
692 "I<exit 1;;>\n"
693 "I<esac>\n"
694 msgstr ""
695 "I<#!/usr/bin/env bash>\n"
696 "I<case $1 in>\n"
697 "I<*.md|*.MD|*.mkd|*.markdown|*.rst)>\n"
698 "I<# if the python module rich.markdown is not found then>\n"
699 "I<# the exit code is not null and lesspipe.sh is called>\n"
700 "I<python3 -m rich.markdown -c $1 ;;>\n"
701 "I<*.html|*.htm)>\n"
702 "I<# call your favorite html beautifier, cat -b is just a boring example>\n"
703 "I<cat -b $1 ;;>\n"
704 "I<*)>\n"
705 "I<exit 1;;>\n"
706 "I<esac>\n"
707
708 #. type: SH
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron
711 #, no-wrap
712 msgid "AUTHOR"
713 msgstr "المؤلف"
714
715 #. type: Plain text
716 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
717 msgid "Wolfgang Friebel"
718 msgstr "Wolfgang Friebel"
719
720 #. type: SH
721 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
722 #, no-wrap
723 msgid "REPORTING BUGS"
724 msgstr "التبليغ عن الأخطاء"
725
726 #. type: Plain text
727 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
728 msgid "Report bugs to E<lt>wp.friebel AT gmail DOT comE<gt>."
729 msgstr "أبلغ عن الأخطاء إلى E<lt>wp.friebel AT gmail DOT comE<gt>."
730
731 #. type: SH
732 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
733 #, no-wrap
734 msgid "COPYRIGHT"
735 msgstr "حقوق النسخ"
736
737 #. type: Plain text
738 #: archlinux fedora-rawhide
739 msgid "Copyright \\(co 2005-2026 Wolfgang Friebel"
740 msgstr "حقوق النشر \\(co 2005-2026 Wolfgang Friebel"
741
742 #. type: Plain text
743 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
744 msgid ""
745 "This is free software; see the source for copying conditions. There is NO "
746 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
747 msgstr ""
748 "هذا برنامج حر؛ انظر المصدر لشروط النسخ. لا يوجد أي ضمان؛ ولا حتى ضمان قابلية "
749 "التسويق أو الملاءمة لغرض معين."
750
751 #. type: SH
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron
754 #, no-wrap
755 msgid "SEE ALSO"
756 msgstr "انظر أيضًا"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron
761 msgid "less(1)"
762 msgstr "less(1)"
763
764 #. type: Plain text
765 #: archlinux fedora-44 fedora-rawhide
766 msgid ""
767 "A description of B<lesspipe.sh> can also be found in the file README "
768 "contained in the source code package"
769 msgstr ""
770 "يمكن أيضًا العثور على وصف لـ B<lesspipe.sh> في ملف README المضمن في حزمة "
771 "الشيفرة المصدرية"
772
773 #. type: TH
774 #: debian-trixie debian-unstable
775 #, no-wrap
776 msgid "LESSOPEN"
777 msgstr "LESSOPEN"
778
779 #. type: Plain text
780 #: debian-trixie debian-unstable
781 msgid "lessfile, lesspipe - \"input preprocessor\" for less."
782 msgstr "lessfile, lesspipe - \"معالج إدخال مسبق\" لـ less."
783
784 #. type: Plain text
785 #: debian-trixie debian-unstable
786 msgid "B<lessfile, lesspipe>"
787 msgstr "B<lessfile, lesspipe>"
788
789 #. type: Plain text
790 #: debian-trixie debian-unstable
791 msgid ""
792 "This manual page documents briefly the I<lessfile>, and I<lesspipe> "
793 "commands. This manual page was written for the Debian GNU/Linux "
794 "distribution because the input preprocessor scripts are provided by Debian "
795 "GNU/Linux and are not part of the original program."
796 msgstr ""
797 "توثق صفحة الدليل هذه بإيجاز أوامر I<lessfile> و I<lesspipe>. كتبت صفحة "
798 "الدليل هذه لتوزيعة Debian GNU/Linux لأن نصوص المعالج المسبق للإدخال مقدمة من "
799 "Debian GNU/Linux وليست جزءاً من البرنامج الأصلي."
800
801 #. type: Plain text
802 #: debian-trixie debian-unstable
803 msgid ""
804 "I<lessfile> and I<lesspipe> are programs that can be used to modify the way "
805 "the contents of a file are displayed in I<less.> What this means is that "
806 "I<less> can automatically open up tar files, uncompress gzipped files, and "
807 "even display something reasonable for graphics files."
808 msgstr ""
809 "I<lessfile> و I<lesspipe> هما برنامجان يمكن استخدامهما لتعديل طريقة عرض "
810 "محتويات ملف في I<less.> معنى هذا أن I<less> يمكنه آلياً فتح ملفات tar، وفك "
811 "ضغط ملفات gzipped، وحتى عرض شيء معقول لملفات الرسوميات."
812
813 #. type: Plain text
814 #: debian-trixie debian-unstable
815 msgid ""
816 "I<lesspipe> will toss the contents/info on STDOUT and I<less> will read them "
817 "as they come across. This means that you do not have to wait for the "
818 "decoding to finish before less shows you the file. This also means that you "
819 "will get a 'byte N' instead of an N% as your file position. You can seek to "
820 "the end and back to get the N% but that means you have to wait for the pipe "
821 "to finish."
822 msgstr ""
823 "سيرمي I<lesspipe> المحتويات/المعلومات على STDOUT وسيقرأها I<less> فور "
824 "ورودها. يعني هذا أنك لا تضطر للانتظار حتى ينتهي فك الترميز قبل أن يظهر لك "
825 "less الملف. يعني هذا أيضًا أنك ستحصل على 'بايت N' بدلاً من N% كموقع ملفك. "
826 "يمكنك التوجه إلى النهاية والعودة للحصول على N% لكن ذلك يعني أن عليك انتظار "
827 "انتهاء الأنبوب."
828
829 #. type: Plain text
830 #: debian-trixie debian-unstable
831 msgid ""
832 "I<lessfile> will toss the contents/info on a file which I<less> will then "
833 "read. After you are done, I<lessfile> will then delete the file. This "
834 "means that the process has to finish before you see it, but you get nice "
835 "percentages (N%) up front."
836 msgstr ""
837 "سيرمي I<lessfile> المحتويات/المعلومات على ملف سيقرأه I<less> بعد ذلك. بعد "
838 "الانتهاء، سيحذف I<lessfile> الملف. يعني هذا أن العملية يجب أن تنتهي قبل أن "
839 "تراها، لكنك تحصل على نسب مئوية جميلة (N%) مسبقاً."
840
841 #. type: SH
842 #: debian-trixie debian-unstable
843 #, no-wrap
844 msgid "USAGE"
845 msgstr "الاستخدام"
846
847 #. type: Plain text
848 #: debian-trixie debian-unstable
849 msgid ""
850 "Just put one of the following two commands in your login script (e.g. ~/."
851 "bash_profile):"
852 msgstr ""
853 "فقط ضع أحد الأمرين التاليين في سكريبت تسجيل الدخول الخاص بك (مثلاً ~/."
854 "bash_profile):"
855
856 #. type: Plain text
857 #: debian-trixie debian-unstable
858 #, no-wrap
859 msgid " eval \"$(lessfile)\"\n"
860 msgstr " eval \"$(lessfile)\"\n"
861
862 #. type: Plain text
863 #: debian-trixie debian-unstable
864 msgid "or"
865 msgstr "أو"
866
867 #. type: Plain text
868 #: debian-trixie debian-unstable
869 #, no-wrap
870 msgid " eval \"$(lesspipe)\"\n"
871 msgstr " eval \"$(lesspipe)\"\n"
872
873 #. type: SH
874 #: debian-trixie debian-unstable
875 #, no-wrap
876 msgid "FILE TYPE RECOGNITION"
877 msgstr "التعرف على أنواع الملفات"
878
879 #. type: Plain text
880 #: debian-trixie debian-unstable
881 msgid ""
882 "File types are recognized by their extensions. This is a list of currently "
883 "supported extensions (grouped by the programs that handle them):"
884 msgstr ""
885 "يتم التعرف على أنواع الملفات من خلال امتداداتها. هذه قائمة بالامتدادات "
886 "المدعومة حالياً (مجمعة حسب البرامج التي تعالجها):"
887
888 #. type: Plain text
889 #: debian-trixie debian-unstable
890 #, no-wrap
891 msgid ""
892 " *.a\n"
893 " *.arj\n"
894 " *.tar.bz2\n"
895 " *.bz\n"
896 " *.bz2\n"
897 " *.deb, *.udeb, *.ddeb\n"
898 " *.doc\n"
899 " *.egg\n"
900 " *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n"
901 " *.iso, *.raw, *.bin\n"
902 " *.lha, *.lzh\n"
903 " *.tar.lz, *.tlz\n"
904 " *.lz\n"
905 " *.7z\n"
906 " *.pdf\n"
907 " *.rar, *.r[0-9][0-9]\n"
908 " *.rpm\n"
909 " *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n"
910 " *.gz, *.z, *.dz\n"
911 " *.tar\n"
912 " *.tar.xz, *.xz\n"
913 " *.whl\n"
914 " *.jar, *.war, *.xpi, *.zip\n"
915 " *.zoo\n"
916 " *.tar.zst, *.tzst\n"
917 " *.zst\n"
918 msgstr ""
919 " *.a\n"
920 " *.arj\n"
921 " *.tar.bz2\n"
922 " *.bz\n"
923 " *.bz2\n"
924 " *.deb, *.udeb, *.ddeb\n"
925 " *.doc\n"
926 " *.egg\n"
927 " *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n"
928 " *.iso, *.raw, *.bin\n"
929 " *.lha, *.lzh\n"
930 " *.tar.lz, *.tlz\n"
931 " *.lz\n"
932 " *.7z\n"
933 " *.pdf\n"
934 " *.rar, *.r[0-9][0-9]\n"
935 " *.rpm\n"
936 " *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n"
937 " *.gz, *.z, *.dz\n"
938 " *.tar\n"
939 " *.tar.xz, *.xz\n"
940 " *.whl\n"
941 " *.jar, *.war, *.xpi, *.zip\n"
942 " *.zoo\n"
943 " *.tar.zst, *.tzst\n"
944 " *.zst\n"
945
946 #. type: SH
947 #: debian-trixie debian-unstable
948 #, no-wrap
949 msgid "USER DEFINED FILTERS"
950 msgstr "مرشحات معرفة من قبل المستخدم"
951
952 #. type: Plain text
953 #: debian-trixie debian-unstable
954 msgid ""
955 "It is possible to extend and overwrite the default I<lesspipe> and "
956 "I<lessfile> input processor if you have specialized requirements. Create an "
957 "executable program with the name I<.lessfilter> and put it into your home "
958 "directory. This can be a shell script or a binary program."
959 msgstr ""
960 "من الممكن توسيع واستبدال معالج الإدخال المبدئي I<lesspipe> و I<lessfile> إذا "
961 "كانت لديك متطلبات متخصصة. أنشئ برنامجاً قابلاً للتنفيذ باسم I<.lessfilter> "
962 "وضعه في دليلك الرئيسي. يمكن أن يكون هذا سكريبت شل أو برنامجاً ثنائياً."
963
964 #. type: Plain text
965 #: debian-trixie debian-unstable
966 msgid ""
967 "It is important that this program returns the correct exit code: return 0 if "
968 "your filter handles the input, return 1 if the standard I<lesspipe/lessfile> "
969 "filter should handle the input."
970 msgstr ""
971 "من المهم أن يعيد هذا البرنامج رمز الخروج الصحيح: أعد 0 إذا كان مرشحك يعالج "
972 "الإدخال، أعد 1 إذا كان يجب على المرشح القياسي I<lesspipe/lessfile> معالجة "
973 "الإدخال."
974
975 #. type: Plain text
976 #: debian-trixie debian-unstable
977 msgid "Here is an example script:"
978 msgstr "هنا سكريبت مثال:"
979
980 #. type: Plain text
981 #: debian-trixie debian-unstable
982 #, no-wrap
983 msgid " #!/bin/sh\n"
984 msgstr " #!/bin/sh\n"
985
986 #. type: Plain text
987 #: debian-trixie debian-unstable
988 #, no-wrap
989 msgid ""
990 " case \"$1\" in\n"
991 " *.extension)\n"
992 " extension-handler \"$1\"\n"
993 " ;;\n"
994 " *)\n"
995 " # We don't handle this format.\n"
996 " exit 1\n"
997 " esac\n"
998 msgstr ""
999 " case \"$1\" in\n"
1000 " *.extension)\n"
1001 " extension-handler \"$1\"\n"
1002 " ;;\n"
1003 " *)\n"
1004 " # We don't handle this format.\n"
1005 " exit 1\n"
1006 " esac\n"
1007
1008 #. type: Plain text
1009 #: debian-trixie debian-unstable
1010 #, no-wrap
1011 msgid ""
1012 " # No further processing by lesspipe necessary\n"
1013 " exit 0\n"
1014 msgstr ""
1015 " # No further processing by lesspipe necessary\n"
1016 " exit 0\n"
1017
1018 #. type: SH
1019 #: debian-trixie debian-unstable
1020 #, no-wrap
1021 msgid "FILES"
1022 msgstr "الملفات"
1023
1024 #. type: TP
1025 #: debian-trixie debian-unstable
1026 #, no-wrap
1027 msgid "I<~/.lessfilter>"
1028 msgstr "I<~/.lessfilter>"
1029
1030 #. type: Plain text
1031 #: debian-trixie debian-unstable
1032 msgid ""
1033 "Executable file that can do user defined processing. See section USER "
1034 "DEFINED FILTERS for more information."
1035 msgstr ""
1036 "ملف قابل للتنفيذ يمكنه القيام بمعالجة معرفة من قبل المستخدم. انظر قسم "
1037 "المرشحات المعرفة من قبل المستخدم لمزيد من المعلومات."
1038
1039 #. type: SH
1040 #: debian-trixie debian-unstable
1041 #, no-wrap
1042 msgid "BUGS"
1043 msgstr "العلل"
1044
1045 #. type: Plain text
1046 #: debian-trixie debian-unstable
1047 msgid ""
1048 "Sometimes, less does not display the contents file you want to view but "
1049 "output that is produced by your login scripts (~/.bashrc or ~/."
1050 "bash_profile). This happens because less uses your current shell to run the "
1051 "lesspipe filter. Bash first looks for the variable $BASH_ENV in the "
1052 "environment expands its value and uses the expanded value as the name of a "
1053 "file to read and execute. If this file produces any output less will display "
1054 "this. A way to solve this problem is to put the following lines on the top "
1055 "of your login script that produces output:"
1056 msgstr ""
1057 "أحياناً، لا يعرض less محتويات الملف الذي تريد مشاهدته بل المخرجات التي تنتجها "
1058 "سكريبتات تسجيل الدخول الخاصة بك (~/.bashrc أو ~/.bash_profile). يحدث هذا لأن "
1059 "less يستخدم شلتك الحالية لتشغيل مرشح lesspipe. يبحث Bash أولاً عن المتغير "
1060 "$BASH_ENV في البيئة ويوسع قيمته ويستخدم القيمة الموسعة كاسم ملف لقراءته "
1061 "وتنفيذه. إذا أنتج هذا الملف أي مخرجات سيعرضها less. طريقة لحل هذه المشكلة هي "
1062 "وضع الأسطر التالية في أعلى سكريبت تسجيل الدخول الذي ينتج مخرجات:"
1063
1064 #. type: Plain text
1065 #: debian-trixie debian-unstable
1066 #, no-wrap
1067 msgid ""
1068 " if [ -z \"$PS1\" ]; then\n"
1069 " exit\n"
1070 " fi\n"
1071 msgstr ""
1072 " if [ -z \"$PS1\" ]; then\n"
1073 " exit\n"
1074 " fi\n"
1075
1076 #. type: Plain text
1077 #: debian-trixie debian-unstable
1078 msgid ""
1079 "This tests whether the prompt variable $PS1 is set and if it isn't (which is "
1080 "the case for non-interactive shells) it will exit the script."
1081 msgstr ""
1082 "يختبر هذا ما إذا كان متغير الموجه $PS1 معينًا، وإذا لم يكن (وهو الحال للأصداف "
1083 "غير التفاعلية) فإنه يخرج من النص البرمجي."
1084
1085 #. type: Plain text
1086 #: debian-trixie debian-unstable
1087 msgid ""
1088 "This manual page was written by Thomas Schoepf E<lt>[email protected]<gt>, "
1089 "for the Debian GNU/Linux system (but may be used by others). Most of the "
1090 "text was copied from a description written by Darren Stalder E<lt>torin@daft."
1091 "comE<gt>."
1092 msgstr ""
1093 "كتب صفحة الدليل هذه Thomas Schoepf E<lt>[email protected]<gt>، لنظام "
1094 "Debian GNU/Linux (ولكن قد يستخدمها آخرون). نُسخ معظم النص من وصف كتبه Darren "
1095 "Stalder E<lt>[email protected]<gt>."
1096
1097 #. type: TH
1098 #: fedora-44
1099 #, no-wrap
1100 msgid "December 2025"
1101 msgstr "ديسمبر 2025"
1102
1103 #. type: Plain text
1104 #: fedora-44 mageia-cauldron
1105 msgid ""
1106 "Files in the I<html>, I<xml> and I<perl pod> format are always rendered. "
1107 "Sometimes however the original contents of the file should be viewed "
1108 "instead. As mentioned before that can be achieved by appending a colon to "
1109 "the file name. If the correct file type (I<html>, I<xml>, I<pod>) follows, "
1110 "the output can get colorized (see also the section below)."
1111 msgstr ""
1112 "تُعرض الملفات بتنسيقات I<html> وI<xml> وI<perl pod> دائمًا. لكن في بعض"
1113 " الأحيان "
1114 "يجب عرض المحتويات الأصلية للملف بدلاً من ذلك. كما ذُكر سابقًا، يمكن تحقيق ذلك "
1115 "بإلحاق نقطتين باسم الملف. إذا تبعه نوع الملف الصحيح (I<html> أو I<xml> أو "
1116 "I<pod>)، يمكن تلوين المخرجات (انظر أيضًا القسم أدناه)."
1117
1118 #. type: Plain text
1119 #: fedora-44 mageia-cauldron
1120 msgid ""
1121 "The filter is able to do syntax highlighting for a wide variety of file "
1122 "types. If installed, I<nvimpager> is used for colorizing the output. If not, "
1123 "I<bat>/I<batcat>, I<pygmentize>, I<source-highlight>, I<vimcolor> and "
1124 "I<code2color> are tried in turn. For bat/batcat the theme is set to I<ansi> "
1125 "and the style is set to I<plain> which comes closer to the unfiltered output "
1126 "of B<less>. These settings can be changed in I<~/.config/bat/config> or by "
1127 "the environment variables B<BAT_STYLE> and B<BAT_THEME>."
1128 msgstr ""
1129 "المرشح قادر على إجراء تمييز نحوي لمجموعة واسعة من أنواع الملفات. إذا تم "
1130 "تثبيته، يُستخدم I<nvimpager> لتلوين المخرجات. إذا لم يكن، تُجرب I<bat>/"
1131 "I<batcat> و I<pygmentize> و I<source-highlight> و I<vimcolor> و "
1132 "I<code2color> بدورها. لـ bat/batcat، يُضبط السمة إلى I<ansi> والنمط إلى "
1133 "I<plain> الذي يقترب من المخرجات غير المفلترة لـ B<less>. يمكن تغيير هذه "
1134 "الإعدادات في I<~/.config/bat/config> أو بواسطة المتغيرات البيئية "
1135 "B<BAT_STYLE> و B<BAT_THEME>."
1136
1137 #. type: Plain text
1138 #: fedora-44
1139 #, no-wrap
1140 msgid ""
1141 "I<bat --list-languages>\n"
1142 "I<batcat --list-languages>\n"
1143 "I<pygmentize -L lexers>\n"
1144 "I<source-highlight --lang-list>\n"
1145 "I<code2color -h>\n"
1146 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
1147 msgstr ""
1148 "I<bat --list-languages>\n"
1149 "I<batcat --list-languages>\n"
1150 "I<pygmentize -L lexers>\n"
1151 "I<source-highlight --lang-list>\n"
1152 "I<code2color -h>\n"
1153 "I<vimcolor -L (both for vimcolor and nvimpager)>\n"
1154
1155 #. type: Plain text
1156 #: fedora-44 mageia-cauldron
1157 msgid ""
1158 "As soon as B<lesspipe.sh> calls a program to convert the input the ability "
1159 "to watch growing files (using the F command within less) is lost. This is "
1160 "usually wanted for log files like syslog. To temporarily disengage "
1161 "B<lesspipe.sh> a colon as the last argument for B<less> needs to be added as "
1162 "e.g in"
1163 msgstr ""
1164 "بمجرد أن يستدعي B<lesspipe.sh> برنامجًا لتحويل الإدخال، تُفقد القدرة على "
1165 "مراقبة الملفات المتنامية (باستخدام الأمر F داخل less). يُراد هذا عادةً لملفات "
1166 "السجل مثل syslog. لتعطيل B<lesspipe.sh> مؤقتًا، يجب إضافة نقطتين كآخر وسيط لـ "
1167 "B<less> كما في"
1168
1169 #. type: Plain text
1170 #: fedora-44 mageia-cauldron
1171 msgid ""
1172 "or B<less> can be called with the +F argument, which is equivalent to F "
1173 "within the pager:"
1174 msgstr "أو يمكن استدعاء B<less> مع الوسيط +F، وهو ما يعادل F داخل المتصفح:"
1175
1176 #. type: Plain text
1177 #: fedora-44
1178 msgid "B<less>I< +F /var/log/syslog>"
1179 msgstr "B<less>I< +F /var/log/syslog>"
1180
1181 #. type: Plain text
1182 #: fedora-44
1183 msgid ""
1184 "Appending a colon to the file name does not work, as then the filter has to "
1185 "be engaged to at least remove that colon and use cat for the original file."
1186 msgstr ""
1187 "لا يعمل إلحاق نقطتين باسم الملف، حيث يجب تشغيل المرشح لإزالة تلك النقطتين "
1188 "على الأقل واستخدام cat للملف الأصلي."
1189
1190 #. type: Plain text
1191 #: fedora-44
1192 msgid "Copyright \\(co 2005-2025 Wolfgang Friebel"
1193 msgstr "حقوق النشر \\(co 2005-2025 Wolfgang Friebel"
1194
1195 #. type: TH
1196 #: mageia-cauldron
1197 #, no-wrap
1198 msgid "August 2024"
1199 msgstr "أغسطس 2024"
1200
1201 #. type: Plain text
1202 #: mageia-cauldron
1203 msgid ""
1204 "With the help of that filter B<less> will display the uncompressed contents "
1205 "of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma or "
1206 "brotli>) files. For files containing archives and directories, a table of "
1207 "contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb "
1208 "ms-cabinet, iso, appimage and snap formats>). Many other files will be "
1209 "reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and "
1210 "Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> "
1211 "and I<media (image, audio and video)> formats. This does require helper "
1212 "programs being installed."
1213 msgstr ""
1214 "بمساعدة هذا المرشح، سيعرض B<less> المحتويات غير المضغوطة للملفات المضغوطة "
1215 "(تنسيقات I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma أو brotli>). "
1216 "للملفات التي تحتوي على أرشيفات وأدلة، سيعرض جدول محتويات (تنسيقات I<tar, ar, "
1217 "zip, 7-zip, rar, jar, cpio, rpm, deb ms-cabinet, iso, appimage و snap>). "
1218 "ستُعاد تنسيق العديد من الملفات الأخرى للعرض. يتضمن ذلك تنسيقات حزم I<pdf, "
1219 "dvi, markdown, Office (MS و Openoffice)> وI<NetCDF, matlab, device tree "
1220 "blob, html, xml> وتنسيقات I<الوسائط (صورة، صوت، وفيديو)>. يتطلب هذا تثبيت "
1221 "برامج مساعدة."
1222
1223 #. type: Plain text
1224 #: mageia-cauldron
1225 msgid "I<eval `lesspipe.sh`> (bash) or"
1226 msgstr "I<eval `lesspipe.sh`> (bash) أو"
1227
1228 #. type: Plain text
1229 #: mageia-cauldron
1230 msgid "I<lesspipe.sh|source /dev/stdin> (zsh)"
1231 msgstr "I<lesspipe.sh|source /dev/stdin> (zsh)"
1232
1233 #. type: Plain text
1234 #: mageia-cauldron
1235 msgid ""
1236 "Having set the environment variable as described above, B<less> :will then "
1237 "display textual information for a wide range of file formats."
1238 msgstr ""
1239 "بعد تعيين متغير البيئة كما هو موصوف أعلاه، سيعرض B<less> معلومات نصية "
1240 "لمجموعة واسعة من تنسيقات الملفات."
1241
1242 #. type: Plain text
1243 #: mageia-cauldron
1244 msgid ""
1245 "B<LESSOPEN> starting with the two characters I<||> to handle empty files and "
1246 "command errors is implemented only partly, usually on failures of commands "
1247 "within B<lesspipe.sh> the error messages get displayed."
1248 msgstr ""
1249 "B<LESSOPEN> الذي يبدأ بالحرفين I<||> للتعامل مع الملفات الفارغة وأخطاء "
1250 "الأوامر يُنفذ جزئيًا فقط، وعادةً عند فشل الأوامر داخل B<lesspipe.sh> تُعرض"
1251 " رسائل "
1252 "الخطأ."
1253
1254 #. type: Plain text
1255 #: mageia-cauldron
1256 msgid "Example: I<less index.html:html>"
1257 msgstr "مثال: I<less index.html:html>"
1258
1259 #. type: Plain text
1260 #: mageia-cauldron
1261 msgid "I<LESSCOLORIZER='pygmentize -O style=foo' (-P allowed as well)>"
1262 msgstr "I<LESSCOLORIZER='pygmentize -O style=foo' (-P مسموح به أيضًا)>"
1263
1264 #. type: Plain text
1265 #: mageia-cauldron
1266 msgid ""
1267 "I<LESSCOLORIZER='bat --style=foo --theme=bar' (default is theme ansi, style "
1268 "plain)>"
1269 msgstr ""
1270 "I<LESSCOLORIZER='bat --style=foo --theme=bar' (المبدئي هو السمة ansi، النمط "
1271 "plain)>"
1272
1273 #. type: Plain text
1274 #: mageia-cauldron
1275 msgid ""
1276 "Syntax highlighting can be switched off by appending a colon after the file "
1277 "name, if the output was colorful. If the wrong language was chosen for "
1278 "syntax highlighting, then another one can be forced by appending a colon and "
1279 "a suffix to the file name."
1280 msgstr ""
1281 "يمكن إيقاف تلوين الصياغة بإلحاق نقطتين بعد اسم الملف، إذا كانت المخرجات "
1282 "ملونة. إذا اختيرت لغة خاطئة لتلوين الصياغة، يمكن فرض لغة أخرى بإلحاق نقطتين "
1283 "ولاحقة باسم الملف."
1284
1285 #. type: Plain text
1286 #: mageia-cauldron
1287 msgid ""
1288 "As B<less> is used as a default browser in other programs (e.g. I<man>, "
1289 "I<git>, and I<perldoc>)) B<lesspipe.sh> may be engaged and alter the output "
1290 "of those programs."
1291 msgstr ""
1292 "نظرًا لاستخدام B<less> كمتصفح مبدئي في برامج أخرى (مثل I<man> وI<git> "
1293 "وI<perldoc>))، قد يُشغل B<lesspipe.sh> ويغير مخرجات تلك البرامج."
1294
1295 #. type: Plain text
1296 #: mageia-cauldron
1297 msgid "I<less /var/log/syslog :>"
1298 msgstr "I<less /var/log/syslog :>"
1299
1300 #. type: Plain text
1301 #: mageia-cauldron
1302 msgid "I<less +F /var/log/syslog>"
1303 msgstr "I<less +F /var/log/syslog>"
1304
1305 #. type: Plain text
1306 #: mageia-cauldron
1307 msgid ""
1308 "Appending a colon to the file name does not work, as then the filter has to "
1309 "be engaged to at least remove that colon and use cat for the original file. "
1310 "On the other hand non growing log files can be colorized using B<ccze>. Its "
1311 "recognition as a log file is difficult if not ending in I<.log> but can be "
1312 "forced appending B<:.log> to the file name as e.g in"
1313 msgstr ""
1314 "لا يعمل إلحاق نقطتين باسم الملف، حيث يجب تشغيل المرشح لإزالة تلك النقطتين "
1315 "على الأقل واستخدام cat للملف الأصلي. من ناحية أخرى، يمكن تلوين ملفات السجل "
1316 "غير المتنامية باستخدام B<ccze>. يصعب التعرف عليها كملف سجل إذا لم تنتهِ بـ I<."
1317 "log> ولكن يمكن فرض ذلك بإلحاق B<:.log> باسم الملف كما في"
1318
1319 #. type: Plain text
1320 #: mageia-cauldron
1321 msgid "I<less /var/log/syslog:.log>"
1322 msgstr "I<less /var/log/syslog:.log>"
1323
1324 #. type: Plain text
1325 #: mageia-cauldron
1326 msgid ""
1327 "With the provided I<lesscomplete> (for B<zsh> and B<bash>), I<_less> (for "
1328 "B<zsh>) and I<less_completion> (for B<bash>) files a tab completion for "
1329 "files in archives can be accomplished. Entering a colon (:) or an equal "
1330 "sign (=) after an archive file name and then pressing the tab key triggers "
1331 "the completion mechanism. This also works in chained archives. The files "
1332 "I<lesscomplete> and I<less_completion> have to be in one of the directories "
1333 "listed in B<$PATH> and the function I<_less> for B<zsh> in a directory "
1334 "listed by I<$fpath>. The less_completion script has to be sourced within a "
1335 "bash initialization script, e.g. in I<~/.bashrc>. New directories such as "
1336 "I<~/scripts> and I<~/.fpath> can be added using the commands"
1337 msgstr ""
1338 "مع الملفات المقدمة I<lesscomplete> (لـ B<zsh> وB<bash>) وI<_less> (لـ "
1339 "B<zsh>) وI<less_completion> (لـ B<bash>)، يمكن تحقيق الإكمال بعلامة التبويب "
1340 "للملفات في الأرشيفات. إدخال نقطتين (:) أو علامة يساوي (=) بعد اسم ملف أرشيف "
1341 "ثم الضغط على مفتاح التبويب يُشغل آلية الإكمال. يعمل هذا أيضًا في الأرشيفات "
1342 "المتسلسلة. يجب أن تكون الملفات I<lesscomplete> وI<less_completion> في أحد "
1343 "الأدلة المدرجة في B<$PATH> والدالة I<_less> لـ B<zsh> في دليل مدرج بواسطة "
1344 "I<$fpath>. يجب استدعاء نص less_completion داخل نص تهيئة bash، مثل I<~/."
1345 "bashrc>. يمكن إضافة أدلة جديدة مثل I<~/scripts> وI<~/.fpath> باستخدام الأوامر"
1346
1347 #. type: Plain text
1348 #: mageia-cauldron
1349 msgid "B<PATH>=I<~/scripts:$PATH> and B<fpath>=I<(~/.fpath $fpath)>"
1350 msgstr "B<PATH>=I<~/scripts:$PATH> وB<fpath>=I<(~/.fpath $fpath)>"
1351
1352 #. type: Plain text
1353 #: mageia-cauldron
1354 msgid ""
1355 "This mechanism can be used to add filtering for new formats or e.g. inhibit "
1356 "filtering for certain file types."
1357 msgstr ""
1358 "يمكن استخدام هذه الآلية لإضافة ترشيح لتنسيقات جديدة أو، على سبيل المثال، منع "
1359 "الترشيح لأنواع ملفات معينة."
1360
1361 #. type: Plain text
1362 #: mageia-cauldron
1363 msgid "Copyright \\(co 2005-2024 Wolfgang Friebel"
1364 msgstr "حقوق النشر \\(co 2005-2024 Wolfgang Friebel"
1365
1366 #. type: Plain text
1367 #: mageia-cauldron
1368 msgid ""
1369 "A description of B<lesspipe.sh> is also contained in the file README "
1370 "contained in the source code package"
1371 msgstr ""
1372 "وصف لـ B<lesspipe.sh> موجود أيضًا في ملف README المضمن في حزمة الكود المصدري"
1373