Debian Codegraph @

po/ar/man7/glob.7.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 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
9 "PO-Revision-Date: 2026-05-12 20:47+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\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=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "glob"
25 msgstr "glob"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "glob - globbing pathnames"
51 msgstr "glob - توسيع مسارات الملفات"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "DESCRIPTION"
58 msgstr "الوصف"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid ""
64 "Long ago, in UNIX\\ V6, there was a program I</etc/glob> that would expand "
65 "wildcard patterns. Soon afterward this became a shell built-in."
66 msgstr ""
67 "منذ زمن بعيد، في UNIX\\ V6، كان هناك برنامج I</etc/glob> يقوم بتوسيع أنماط "
68 "أحرف البدل. بعد ذلك بفترة قصيرة، أصبح هذا مدمجًا في الصدفة."
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 msgid ""
74 "These days there is also a library routine B<glob>(3) that will perform "
75 "this function for a user program."
76 msgstr ""
77 "في هذه الأيام، هناك أيضًا روتين مكتبة B<glob>(3) يؤدي هذه الوظيفة لبرنامج "
78 "المستخدم."
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid "The rules are as follows (POSIX.2, 3.13)."
84 msgstr "القواعد هي كما يلي (POSIX.2، 3.13)."
85
86 #. type: SS
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "Wildcard matching"
91 msgstr "مطابقة أحرف البدل"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "A string is a wildcard pattern if it contains one of the characters \\[aq]?"
98 "\\[aq], \\[aq]*\\[aq], or \\[aq][\\[aq]. Globbing is the operation that "
99 "expands a wildcard pattern into the list of pathnames matching the pattern. "
100 "Matching is defined by:"
101 msgstr ""
102 "السلسلة هي نمط حرف بدل إذا احتوت على أحد الأحرف \\[aq]?\\[aq] أو "
103 "\\[aq]*\\[aq] أو \\[aq][\\[aq]. التوسيع هو العملية التي توسع نمط حرف بدل إلى "
104 "قائمة مسارات الملفات المطابقة للنمط. تُعرّف المطابقة بما يلي:"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid "A \\[aq]?\\[aq] (not between brackets) matches any single character."
110 msgstr "\\[aq]?\\[aq] (ليس بين قوسين) يطابق أي حرف واحد."
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "A \\[aq]*\\[aq] (not between brackets) matches any string, including the "
117 "empty string."
118 msgstr ""
119 "\\[aq]*\\[aq] (ليس بين قوسين) يطابق أي سلسلة، بما في ذلك السلسلة الفارغة."
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid "B<Character classes>"
125 msgstr "B<فئات الأحرف>"
126
127 #. type: Plain text
128 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
129 #: opensuse-tumbleweed
130 msgid ""
131 "An expression \\[dq]I<[...]>\\[dq] where the first character after the "
132 "leading \\[aq][\\[aq] is not an \\[aq]!\\[aq] matches a single character, "
133 "namely any of the characters enclosed by the brackets. The string enclosed "
134 "by the brackets cannot be empty; therefore \\[aq]]\\[aq] can be allowed "
135 "between the brackets, provided that it is the first character. (Thus, "
136 "\\[dq]I<[][!]>\\[dq] matches the three characters \\[aq][\\[aq], "
137 "\\[aq]]\\[aq], and \\[aq]!\\[aq].)"
138 msgstr ""
139 "تعبير \\[dq]I<[...]>\\[dq] حيث الحرف الأول بعد \\[aq][\\[aq] البادئ ليس "
140 "\\[aq]!\\[aq] يطابق حرفًا واحدًا، أي أي حرف من الأحرف المحصورة بين القوسين. "
141 "السلسلة المحصورة بين القوسين لا يمكن أن تكون فارغة؛ لذلك يمكن السماح بـ "
142 "\\[aq]]\\[aq] بين القوسين، بشرط أن يكون الحرف الأول. (وبالتالي، \\[dq]I<[]"
143 "[!]>\\[dq] يطابق الأحرف الثلاثة \\[aq][\\[aq] و \\[aq]]\\[aq] و \\[aq]!"
144 "\\[aq].)"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "B<Ranges>"
150 msgstr "B<النطاقات>"
151
152 #. type: Plain text
153 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
154 #: opensuse-tumbleweed
155 msgid ""
156 "There is one special convention: two characters separated by \\[aq]-\\[aq] "
157 "denote a range. (Thus, \\[dq]I<[A-Fa-f0-9]>\\[dq] is equivalent to "
158 "\\[dq]I<[ABCDEFabcdef0123456789]>\\[dq].) One may include \\[aq]-\\[aq] in "
159 "its literal meaning by making it the first or last character between the "
160 "brackets. (Thus, \\[dq]I<[]-]>\\[dq] matches just the two characters "
161 "\\[aq]]\\[aq] and \\[aq]-\\[aq], and \\[dq]I<[--0]>\\[dq] matches the three "
162 "characters \\[aq]-\\[aq], \\[aq].\\[aq], and \\[aq]0\\[aq], since \\[aq]/"
163 "\\[aq] cannot be matched.)"
164 msgstr ""
165 "هناك اصطلاح خاص: حرفان مفصولان بـ \\[aq]-\\[aq] يشيران إلى نطاق. (وبالتالي، "
166 "\\[dq]I<[A-Fa-f0-9]>\\[dq] مكافئ لـ "
167 "\\[dq]I<[ABCDEFabcdef0123456789]>\\[dq].) يمكن تضمين \\[aq]-\\[aq] بمعناه "
168 "الحرفي بجعله الحرف الأول أو الأخير بين القوسين. (وبالتالي، "
169 "\\[dq]I<[]-]>\\[dq] يطابق الحرفين \\[aq]]\\[aq] و \\[aq]-\\[aq] فقط، و "
170 "\\[dq]I<[--0]>\\[dq] يطابق الأحرف الثلاثة \\[aq]-\\[aq] و \\[aq].\\[aq] و "
171 "\\[aq]0\\[aq]، حيث لا يمكن مطابقة \\[aq]/\\[aq].)"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "B<Complementation>"
177 msgstr "B<التكملة>"
178
179 #. type: Plain text
180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 msgid ""
183 "An expression \\[dq]I<[!...]>\\[dq] matches a single character, namely any "
184 "character that is not matched by the expression obtained by removing the "
185 "first \\[aq]!\\[aq] from it. (Thus, \\[dq]I<[!]a-]>\\[dq] matches any "
186 "single character except \\[aq]]\\[aq], \\[aq]a\\[aq], and \\[aq]-\\[aq].)"
187 msgstr ""
188 "تعبير \\[dq]I<[!...]>\\[dq] يطابق حرفًا واحدًا، أي أي حرف لا يطابقه التعبير "
189 "الناتج عن إزالة أول \\[aq]!\\[aq] منه. (وبالتالي، \\[dq]I<[!]a-]>\\[dq] "
190 "يطابق أي حرف واحد باستثناء \\[aq]]\\[aq] و \\[aq]a\\[aq] و \\[aq]-\\[aq].)"
191
192 #. type: Plain text
193 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
194 #: opensuse-tumbleweed
195 msgid ""
196 "One can remove the special meaning of \\[aq]?\\[aq], \\[aq]*\\[aq], and "
197 "\\[aq][\\[aq] by preceding them by a backslash, or, in case this is part of "
198 "a shell command line, enclosing them in quotes. Between brackets these "
199 "characters stand for themselves. Thus, \\[dq]I<[[?*\\[rs]]>\\[dq] matches "
200 "the four characters \\[aq][\\[aq], \\[aq]?\\[aq], \\[aq]*\\[aq], and "
201 "\\[aq]\\[rs]\\[aq]."
202 msgstr ""
203 "يمكن إزالة المعنى الخاص لـ \\[aq]?\\[aq] و \\[aq]*\\[aq] و \\[aq][\\[aq] "
204 "بوضع شرطة مائلة عكسية قبلها، أو، إذا كان هذا جزءًا من سطر أوامر الصدفة، "
205 "بإحاطتها بعلامات اقتباس. بين القوسين، تمثل هذه الأحرف نفسها. وبالتالي، "
206 "\\[dq]I<[[?*\\[rs]]>\\[dq] يطابق الأحرف الأربعة \\[aq][\\[aq] و \\[aq]?"
207 "\\[aq] و \\[aq]*\\[aq] و \\[aq]\\[rs]\\[aq]."
208
209 #. type: SS
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Pathnames"
214 msgstr "مسارات الملفات"
215
216 #. type: Plain text
217 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
218 #: opensuse-tumbleweed
219 msgid ""
220 "Globbing is applied on each of the components of a pathname separately. A "
221 "\\[aq]/\\[aq] in a pathname cannot be matched by a \\[aq]?\\[aq] or "
222 "\\[aq]*\\[aq] wildcard, or by a range like \\[dq]I<[.-0]>\\[dq]. A range "
223 "containing an explicit \\[aq]/\\[aq] character is syntactically incorrect. "
224 "(POSIX requires that syntactically incorrect patterns are left unchanged.)"
225 msgstr ""
226 "يُطبق التوسيع على كل مكون من مكونات مسار الملف بشكل منفصل. لا يمكن مطابقة "
227 "\\[aq]/\\[aq] في مسار ملف بواسطة حرف بدل \\[aq]?\\[aq] أو \\[aq]*\\[aq]، أو "
228 "بواسطة نطاق مثل \\[dq]I<[.-0]>\\[dq]. النطاق الذي يحتوي على حرف \\[aq]/"
229 "\\[aq] صريح غير صحيح نحويًا. (يتطلب POSIX أن تُترك الأنماط غير الصحيحة نحويًا "
230 "دون تغيير.)"
231
232 #. type: Plain text
233 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
234 #: opensuse-tumbleweed
235 msgid ""
236 "If a filename starts with a \\[aq].\\[aq], this character must be matched "
237 "explicitly. (Thus, I<rm\\ *> will not remove I<.profile>, and I<tar\\ c\\ "
238 "*> will not archive all your files; I<tar\\ c\\ .> is better.)"
239 msgstr ""
240 "إذا بدأ اسم ملف بـ \\[aq].\\[aq]، يجب مطابقة هذا الحرف بشكل صريح. (وبالتالي، "
241 "I<rm\\ *> لن يزيل I<.profile>، و I<tar\\ c\\ *> لن يؤرشف جميع ملفاتك؛ "
242 "I<tar\\ c\\ .> أفضل.)"
243
244 #. type: SS
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Empty lists"
249 msgstr "القوائم الفارغة"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The nice and simple rule given above: \"expand a wildcard pattern into the "
256 "list of matching pathnames\" was the original UNIX definition. It allowed "
257 "one to have patterns that expand into an empty list, as in"
258 msgstr ""
259 "القاعدة الجميلة والبسيطة المذكورة أعلاه: \"توسيع نمط حرف بدل إلى قائمة "
260 "مسارات الملفات المطابقة\" كانت تعريف UNIX الأصلي. سمحت بوجود أنماط تتوسع إلى "
261 "قائمة فارغة، كما في"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid " xv -wait 0 *.gif *.jpg\n"
268 msgstr " xv -wait 0 *.gif *.jpg\n"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "where perhaps no *.gif files are present (and this is not an error). "
275 "However, POSIX requires that a wildcard pattern is left unchanged when it is "
276 "syntactically incorrect, or the list of matching pathnames is empty. With "
277 "I<bash> one can force the classical behavior using this command:"
278 msgstr ""
279 "حيث ربما لا توجد ملفات *.gif (وهذا ليس خطأ). ومع ذلك، يتطلب POSIX أن يُترك "
280 "نمط حرف البدل دون تغيير عندما يكون غير صحيح نحويًا، أو عندما تكون قائمة "
281 "مسارات الملفات المطابقة فارغة. باستخدام I<bash>، يمكن فرض السلوك الكلاسيكي "
282 "باستخدام هذا الأمر:"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "shopt -s nullglob\n"
289 msgstr "shopt -s nullglob\n"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid "(Similar problems occur elsewhere. For example, where old scripts have"
295 msgstr ""
296 "(تحدث مشكلات مماثلة في أماكن أخرى. على سبيل المثال، حيث تحتوي النصوص القديمة "
297 "على"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "rm \\`find . -name \"*\\[ti]\"\\`\n"
304 msgstr "rm \\`find . -name \"*\\[ti]\"\\`\n"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "new scripts require"
310 msgstr "تتطلب النصوص الجديدة"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "rm -f nosuchfile \\`find . -name \"*\\[ti]\"\\`\n"
317 msgstr "rm -f nosuchfile \\`find . -name \"*\\[ti]\"\\`\n"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid "to avoid error messages from I<rm> called with an empty argument list.)"
323 msgstr "لتجنب رسائل الخطأ من I<rm> المستدعاة بقائمة وسائط فارغة.)"
324
325 #. type: SH
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "NOTES"
330 msgstr "ملاحظات"
331
332 #. type: SS
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "Regular expressions"
337 msgstr "التعبيرات المنتظمة"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "Note that wildcard patterns are not regular expressions, although they are a "
344 "bit similar. First of all, they match filenames, rather than text, and "
345 "secondly, the conventions are not the same: for example, in a regular "
346 "expression \\[aq]*\\[aq] means zero or more copies of the preceding thing."
347 msgstr ""
348 "لاحظ أن أنماط البدل ليست تعبيرات منتظمة، رغم تشابهها قليلاً. أولاً، تطابق "
349 "أسماء الملفات بدلاً من النص، وثانياً، الاصطلاحات ليست متطابقة: مثلاً، في "
350 "التعبير المنتظم \\[aq]*\\[aq] يعني صفراً أو أكثر من نسخ العنصر السابق."
351
352 #. type: Plain text
353 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
354 #: opensuse-tumbleweed
355 msgid ""
356 "Now that regular expressions have bracket expressions where the negation is "
357 "indicated by a \\[aq]\\[ha]\\[aq], POSIX has declared the effect of a "
358 "wildcard pattern \\[dq]I<[\\[ha]...]>\\[dq] to be undefined."
359 msgstr ""
360 "بما أن التعبيرات المنتظمة تحتوي على تعبيرات قوسية حيث يُشار إلى النفي بـ "
361 "\\[aq]\\[ha]\\[aq]، أعلن POSIX أن تأثير نمط البدل \\[dq]I<[\\[ha]...]>\\[dq] "
362 "غير محدد."
363
364 #. type: SS
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "Character classes and internationalization"
369 msgstr "فئات المحارف والتدويل"
370
371 #. type: Plain text
372 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
373 #: opensuse-tumbleweed
374 msgid ""
375 "Of course ranges were originally meant to be ASCII ranges, so that "
376 "\\[dq]I<[\\ -%]>\\[dq] stands for \\[dq]I<[\\ !\\[dq]#$%]>\\[dq] and "
377 "\\[dq]I<[a-z]>\\[dq] stands for \"any lowercase letter\". Some UNIX "
378 "implementations generalized this so that a range X-Y stands for the set of "
379 "characters with code between the codes for X and for Y. However, this "
380 "requires the user to know the character coding in use on the local system, "
381 "and moreover, is not convenient if the collating sequence for the local "
382 "alphabet differs from the ordering of the character codes. Therefore, POSIX "
383 "extended the bracket notation greatly, both for wildcard patterns and for "
384 "regular expressions. In the above we saw three types of items that can "
385 "occur in a bracket expression: namely (i) the negation, (ii) explicit single "
386 "characters, and (iii) ranges. POSIX specifies ranges in an internationally "
387 "more useful way and adds three more types:"
388 msgstr ""
389 "بالطبع، كانت النطاقات في الأصل مخصصة لنطاقات ASCII، بحيث \\[dq]I<[\\ -"
390 "%]>\\[dq] يمثل \\[dq]I<[\\ !\\[dq]#$%]>\\[dq] و \\[dq]I<[a-z]>\\[dq] يمثل "
391 "\"أي حرف صغير\". عممت بعض تطبيقات UNIX هذا بحيث يمثل النطاق X-Y مجموعة "
392 "المحارف ذات الرموز بين رموز X و Y. لكن هذا يتطلب من المستخدم معرفة ترميز "
393 "المحارف المستخدم على النظام المحلي، وعلاوة على ذلك، ليس مناسباً إذا اختلف "
394 "تسلسل الترتيب للأبجدية المحلية عن ترتيب رموز المحارف. لذلك، وسع POSIX تدوين "
395 "الأقواس بشكل كبير، لكل من أنماط البدل والتعبيرات المنتظمة. فيما سبق رأينا "
396 "ثلاثة أنواع من العناصر التي يمكن أن تظهر في تعبير قوسي: وهي (i) النفي، (ii) "
397 "المحارف الفردية الصريحة، و (iii) النطاقات. يحدد POSIX النطاقات بطريقة أكثر "
398 "فائدة دولياً ويضيف ثلاثة أنواع إضافية:"
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "(iii) Ranges X-Y comprise all characters that fall between X and Y "
405 "(inclusive) in the current collating sequence as defined by the "
406 "B<LC_COLLATE> category in the current locale."
407 msgstr ""
408 "(iii) النطاقات X-Y تشمل جميع المحارف التي تقع بين X و Y (شاملاً) في تسلسل "
409 "الترتيب الحالي كما هو معرف بواسطة فئة B<LC_COLLATE> في الإعدادات المحلية "
410 "الحالية."
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid "(iv) Named character classes, like"
416 msgstr "(iv) فئات محارف مسماة، مثل"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid ""
423 "[:alnum:] [:alpha:] [:blank:] [:cntrl:]\n"
424 "[:digit:] [:graph:] [:lower:] [:print:]\n"
425 "[:punct:] [:space:] [:upper:] [:xdigit:]\n"
426 msgstr ""
427 "[:alnum:] [:alpha:] [:blank:] [:cntrl:]\n"
428 "[:digit:] [:graph:] [:lower:] [:print:]\n"
429 "[:punct:] [:space:] [:upper:] [:xdigit:]\n"
430
431 #. type: Plain text
432 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
433 #: opensuse-tumbleweed
434 msgid ""
435 "so that one can say \\[dq]I<[[:lower:]]>\\[dq] instead of \\[dq]I<[a-"
436 "z]>\\[dq], and have things work in Denmark, too, where there are three "
437 "letters past \\[aq]z\\[aq] in the alphabet. These character classes are "
438 "defined by the B<LC_CTYPE> category in the current locale."
439 msgstr ""
440 "بحيث يمكن للمرء قول \\[dq]I<[[:lower:]]>\\[dq] بدلاً من \\[dq]I<[a-z]>\\[dq]، "
441 "وتعمل الأمور أيضًا في الدنمارك، حيث توجد ثلاثة أحرف بعد \\[aq]z\\[aq] في "
442 "الأبجدية. تُعرف فئات المحارف هذه بواسطة فئة B<LC_CTYPE> في الإعدادات المحلية "
443 "الحالية."
444
445 #. type: Plain text
446 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
447 #: opensuse-tumbleweed
448 msgid ""
449 "(v) Collating symbols, like \\[dq]I<[.ch.]>\\[dq] or \\[dq]I<[.a-"
450 "acute.]>\\[dq], where the string between \\[dq]I<[.>\\[dq] and "
451 "\\[dq]I<.]>\\[dq] is a collating element defined for the current locale. "
452 "Note that this may be a multicharacter element."
453 msgstr ""
454 "(v) رموز الترتيب، مثل \\[dq]I<[.ch.]>\\[dq] أو \\[dq]I<[.a-acute.]>\\[dq]، "
455 "حيث السلسلة بين \\[dq]I<[.>\\[dq] و \\[dq]I<.]>\\[dq] هي عنصر ترتيب معرف "
456 "للإعدادات المحلية الحالية. لاحظ أن هذا قد يكون عنصراً متعدد المحارف."
457
458 #. type: Plain text
459 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
460 #: opensuse-tumbleweed
461 msgid ""
462 "(vi) Equivalence class expressions, like \\[dq]I<[=a=]>\\[dq], where the "
463 "string between \\[dq]I<[=>\\[dq] and \\[dq]I<=]>\\[dq] is any collating "
464 "element from its equivalence class, as defined for the current locale. For "
465 "example, \\[dq]I<[[=a=]]>\\[dq] might be equivalent to "
466 "\\[dq]I<[a\\('a\\(`a\\(:a\\(^a]>\\[dq], that is, to \\[dq]I<[a[.a-acute.][.a-"
467 "grave.][.a-umlaut.][.a-circumflex.]]>\\[dq]."
468 msgstr ""
469 "(vi) تعبيرات فئة التكافؤ، مثل \\[dq]I<[=a=]>\\[dq]، حيث السلسلة بين "
470 "\\[dq]I<[=>\\[dq] و \\[dq]I<=]>\\[dq] هي أي عنصر ترتيب من فئة تكافؤه، كما هو "
471 "معرف للإعدادات المحلية الحالية. مثلاً، \\[dq]I<[[=a=]]>\\[dq] قد يكون مكافئاً "
472 "لـ \\[dq]I<[a\\('a\\(`a\\(:a\\(^a]>\\[dq]، أي لـ \\[dq]I<[a[.a-acute.][.a-"
473 "grave.][.a-umlaut.][.a-circumflex.]]>\\[dq]."
474
475 #. type: SH
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "SEE ALSO"
480 msgstr "انظر أيضًا"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid "B<sh>(1), B<fnmatch>(3), B<glob>(3), B<locale>(7), B<regex>(7)"
486 msgstr "B<sh>(1), B<fnmatch>(3), B<glob>(3), B<locale>(7), B<regex>(7)"
487
488 #. type: TH
489 #: debian-trixie fedora-44 fedora-rawhide
490 #, no-wrap
491 msgid "2024-06-15"
492 msgstr "15 يونيو 2024"
493
494 #. type: TH
495 #: debian-trixie
496 #, no-wrap
497 msgid "Linux man-pages 6.9.1"
498 msgstr "صفحات دليل لينكس 6.9.1"
499
500 #. type: Plain text
501 #: debian-trixie fedora-44 fedora-rawhide
502 msgid ""
503 "An expression \"I<[...]>\" where the first character after the leading \\[aq]"
504 "[\\[aq] is not an \\[aq]!\\[aq] matches a single character, namely any of "
505 "the characters enclosed by the brackets. The string enclosed by the "
506 "brackets cannot be empty; therefore \\[aq]]\\[aq] can be allowed between the "
507 "brackets, provided that it is the first character. (Thus, \"I<[][!]>\" "
508 "matches the three characters \\[aq][\\[aq], \\[aq]]\\[aq], and \\[aq]!"
509 "\\[aq].)"
510 msgstr ""
511 "تعبير \"I<[...]>\" حيث الحرف الأول بعد \\[aq][\\[aq] البادئ ليس \\[aq]!"
512 "\\[aq] يطابق حرفاً واحداً، أي أي من المحارف المحصورة بين القوسين. السلسلة "
513 "المحصورة بين القوسين لا يمكن أن تكون فارغة؛ لذلك يمكن السماح بـ "
514 "\\[aq]]\\[aq] بين القوسين، بشرط أن يكون الحرف الأول. (وبالتالي، \"I<[][!]>\" "
515 "يطابق المحارف الثلاثة \\[aq][\\[aq] و \\[aq]]\\[aq] و \\[aq]!\\[aq].)"
516
517 #. type: Plain text
518 #: debian-trixie fedora-44 fedora-rawhide
519 msgid ""
520 "There is one special convention: two characters separated by \\[aq]-\\[aq] "
521 "denote a range. (Thus, \"I<[A-Fa-f0-9]>\" is equivalent to "
522 "\"I<[ABCDEFabcdef0123456789]>\".) One may include \\[aq]-\\[aq] in its "
523 "literal meaning by making it the first or last character between the "
524 "brackets. (Thus, \"I<[]-]>\" matches just the two characters \\[aq]]\\[aq] "
525 "and \\[aq]-\\[aq], and \"I<[--0]>\" matches the three characters \\[aq]-"
526 "\\[aq], \\[aq].\\[aq], and \\[aq]0\\[aq], since \\[aq]/\\[aq] cannot be "
527 "matched.)"
528 msgstr ""
529 "هناك اصطلاح خاص واحد: حرفان مفصولان بـ \\[aq]-\\[aq] يدلان على نطاق. "
530 "(وبالتالي، \"I<[A-Fa-f0-9]>\" مكافئ لـ \"I<[ABCDEFabcdef0123456789]>\".) "
531 "يمكن تضمين \\[aq]-\\[aq] بمعناه الحرفي بجعله الحرف الأول أو الأخير بين "
532 "القوسين. (وبالتالي، \"I<[]-]>\" يطابق فقط الحرفين \\[aq]]\\[aq] و \\[aq]-"
533 "\\[aq]، و \"I<[--0]>\" يطابق المحارف الثلاثة \\[aq]-\\[aq] و \\[aq].\\[aq] و "
534 "\\[aq]0\\[aq]، لأن \\[aq]/\\[aq] لا يمكن مطابقته.)"
535
536 #. type: Plain text
537 #: debian-trixie fedora-44 fedora-rawhide
538 msgid ""
539 "An expression \"I<[!...]>\" matches a single character, namely any character "
540 "that is not matched by the expression obtained by removing the first \\[aq]!"
541 "\\[aq] from it. (Thus, \"I<[!]a-]>\" matches any single character except "
542 "\\[aq]]\\[aq], \\[aq]a\\[aq], and \\[aq]-\\[aq].)"
543 msgstr ""
544 "تعبير \"I<[!...]>\" يطابق حرفاً واحداً، أي أي حرف لا يطابقه التعبير الناتج عن "
545 "إزالة أول \\[aq]!\\[aq] منه. (وبالتالي، \"I<[!]a-]>\" يطابق أي حرف واحد "
546 "باستثناء \\[aq]]\\[aq] و \\[aq]a\\[aq] و \\[aq]-\\[aq].)"
547
548 #. type: Plain text
549 #: debian-trixie fedora-44 fedora-rawhide
550 msgid ""
551 "One can remove the special meaning of \\[aq]?\\[aq], \\[aq]*\\[aq], and "
552 "\\[aq][\\[aq] by preceding them by a backslash, or, in case this is part of "
553 "a shell command line, enclosing them in quotes. Between brackets these "
554 "characters stand for themselves. Thus, \"I<[[?*\\[rs]]>\" matches the four "
555 "characters \\[aq][\\[aq], \\[aq]?\\[aq], \\[aq]*\\[aq], and "
556 "\\[aq]\\[rs]\\[aq]."
557 msgstr ""
558 "يمكن إزالة المعنى الخاص لـ \\[aq]?\\[aq] و \\[aq]*\\[aq] و \\[aq][\\[aq] "
559 "بوضع شرطة مائلة عكسية قبلها، أو، إذا كان هذا جزءاً من سطر أوامر الصدفة، "
560 "بإحاطتها بعلامات اقتباس. بين القوسين تمثل هذه المحارف نفسها. وبالتالي، "
561 "\"I<[[?*\\[rs]]>\" يطابق المحارف الأربعة \\[aq][\\[aq] و \\[aq]?\\[aq] و "
562 "\\[aq]*\\[aq] و \\[aq]\\[rs]\\[aq]."
563
564 #. type: Plain text
565 #: debian-trixie fedora-44 fedora-rawhide
566 msgid ""
567 "Globbing is applied on each of the components of a pathname separately. A "
568 "\\[aq]/\\[aq] in a pathname cannot be matched by a \\[aq]?\\[aq] or "
569 "\\[aq]*\\[aq] wildcard, or by a range like \"I<[.-0]>\". A range containing "
570 "an explicit \\[aq]/\\[aq] character is syntactically incorrect. (POSIX "
571 "requires that syntactically incorrect patterns are left unchanged.)"
572 msgstr ""
573 "يُطبق التوسيع بالبدل على كل مكون من مكونات اسم المسار بشكل منفصل. لا يمكن "
574 "مطابقة \\[aq]/\\[aq] في اسم مسار بواسطة بدل \\[aq]?\\[aq] أو \\[aq]*\\[aq]، "
575 "أو بواسطة نطاق مثل \"I<[.-0]>\". النطاق الذي يحتوي على حرف \\[aq]/\\[aq] "
576 "صريح غير صحيح نحوياً. (يتطلب POSIX أن تُترك الأنماط غير الصحيحة نحوياً دون "
577 "تغيير.)"
578
579 #. type: Plain text
580 #: debian-trixie fedora-44 fedora-rawhide
581 msgid ""
582 "If a filename starts with a \\[aq].\\[aq], this character must be matched "
583 "explicitly. (Thus, I<rm\\ *> will not remove .profile, and I<tar\\ c\\ *> "
584 "will not archive all your files; I<tar\\ c\\ .> is better.)"
585 msgstr ""
586 "إذا بدأ اسم ملف بـ \\[aq].\\[aq]، يجب مطابقة هذا الحرف بشكل صريح. (وبالتالي، "
587 "I<rm\\ *> لن يزيل .profile، و I<tar\\ c\\ *> لن يؤرشف جميع ملفاتك؛ I<tar\\ "
588 "c\\ .> أفضل.)"
589
590 #. type: Plain text
591 #: debian-trixie fedora-44 fedora-rawhide
592 msgid ""
593 "Now that regular expressions have bracket expressions where the negation is "
594 "indicated by a \\[aq]\\[ha]\\[aq], POSIX has declared the effect of a "
595 "wildcard pattern \"I<[\\[ha]...]>\" to be undefined."
596 msgstr ""
597 "بما أن التعبيرات المنتظمة تحتوي على تعبيرات قوسية حيث يُشار إلى النفي بـ "
598 "\\[aq]\\[ha]\\[aq]، أعلن POSIX أن تأثير نمط البدل \"I<[\\[ha]...]>\" غير "
599 "محدد."
600
601 #. type: Plain text
602 #: debian-trixie fedora-44 fedora-rawhide
603 msgid ""
604 "Of course ranges were originally meant to be ASCII ranges, so that \"I<[\\ -"
605 "%]>\" stands for \"I<[\\ !\"#$%]>\" and \"I<[a-z]>\" stands for \"any "
606 "lowercase letter\". Some UNIX implementations generalized this so that a "
607 "range X-Y stands for the set of characters with code between the codes for X "
608 "and for Y. However, this requires the user to know the character coding in "
609 "use on the local system, and moreover, is not convenient if the collating "
610 "sequence for the local alphabet differs from the ordering of the character "
611 "codes. Therefore, POSIX extended the bracket notation greatly, both for "
612 "wildcard patterns and for regular expressions. In the above we saw three "
613 "types of items that can occur in a bracket expression: namely (i) the "
614 "negation, (ii) explicit single characters, and (iii) ranges. POSIX "
615 "specifies ranges in an internationally more useful way and adds three more "
616 "types:"
617 msgstr ""
618 "بالطبع، كانت النطاقات في الأصل مخصصة لنطاقات ASCII، بحيث \"I<[\\ -%]>\" يمثل "
619 "\"I<[\\ !\"#$%]>\" و \"I<[a-z]>\" يمثل \"أي حرف صغير\". عممت بعض تطبيقات "
620 "UNIX هذا بحيث يمثل النطاق X-Y مجموعة المحارف ذات الرموز بين رموز X و Y. لكن "
621 "هذا يتطلب من المستخدم معرفة ترميز المحارف المستخدم على النظام المحلي، وعلاوة "
622 "على ذلك، ليس مناسباً إذا اختلف تسلسل الترتيب للأبجدية المحلية عن ترتيب رموز "
623 "المحارف. لذلك، وسع POSIX تدوين الأقواس بشكل كبير، لكل من أنماط البدل "
624 "والتعبيرات المنتظمة. فيما سبق رأينا ثلاثة أنواع من العناصر التي يمكن أن تظهر "
625 "في تعبير قوسي: وهي (i) النفي، (ii) المحارف الفردية الصريحة، و (iii) "
626 "النطاقات. يحدد POSIX النطاقات بطريقة أكثر فائدة دولياً ويضيف ثلاثة أنواع "
627 "إضافية:"
628
629 #. type: Plain text
630 #: debian-trixie fedora-44 fedora-rawhide
631 msgid ""
632 "so that one can say \"I<[[:lower:]]>\" instead of \"I<[a-z]>\", and have "
633 "things work in Denmark, too, where there are three letters past "
634 "\\[aq]z\\[aq] in the alphabet. These character classes are defined by the "
635 "B<LC_CTYPE> category in the current locale."
636 msgstr ""
637 "بحيث يمكن للمرء قول \"I<[[:lower:]]>\" بدلاً من \"I<[a-z]>\"، وتعمل الأمور "
638 "أيضًا في الدنمارك، حيث توجد ثلاثة أحرف بعد \\[aq]z\\[aq] في الأبجدية. تُعرف "
639 "فئات المحارف هذه بواسطة فئة B<LC_CTYPE> في الإعدادات المحلية الحالية."
640
641 #. type: Plain text
642 #: debian-trixie fedora-44 fedora-rawhide
643 msgid ""
644 "(v) Collating symbols, like \"I<[.ch.]>\" or \"I<[.a-acute.]>\", where the "
645 "string between \"I<[.>\" and \"I<.]>\" is a collating element defined for "
646 "the current locale. Note that this may be a multicharacter element."
647 msgstr ""
648 "(v) رموز الترتيب، مثل \"I<[.ch.]>\" أو \"I<[.a-acute.]>\"، حيث السلسلة بين "
649 "\"I<[.>\" و \"I<.]>\" هي عنصر ترتيب معرف للإعدادات المحلية الحالية. لاحظ أن "
650 "هذا قد يكون عنصراً متعدد المحارف."
651
652 #. type: Plain text
653 #: debian-trixie
654 msgid ""
655 "(vi) Equivalence class expressions, like \"I<[=a=]>\", where the string "
656 "between \"I<[=>\" and \"I<=]>\" is any collating element from its "
657 "equivalence class, as defined for the current locale. For example, "
658 "\"I<[[=a=]]>\" might be equivalent to \"I<[a\\['a]\\[`a]\\[:a]\\[^a]]>\", "
659 "that is, to \"I<[a[.a-acute.][.a-grave.][.a-umlaut.][.a-circumflex.]]>\"."
660 msgstr ""
661 "(vi) تعبيرات فئة التكافؤ، مثل ”I<[=a=]>“، حيث تكون السلسلة الواقعة بين "
662 "”I<[=>“ و ”I<=]>“ أي عنصر ترتيب من فئة التكافؤ الخاصة بها، وفقًا للتعريف "
663 "المحدد في الإعدادات المحلية الحالية. على سبيل المثال، قد يكون ”I<[[=a=]]>“ "
664 "مكافئًا لـ ”I<[a\\['a]\\[`a]\\[:a]\\[^a]]>“، أي لـ \"I<[a[.a-acute.] [.a-"
665 "grave.][.a-umlaut.][.a-circumflex.]]>\"."
666
667 #. type: TH
668 #: fedora-44 fedora-rawhide
669 #, no-wrap
670 msgid "Linux man-pages 6.13"
671 msgstr "صفحات دليل لينكس 6.13"
672
673 #. type: Plain text
674 #: fedora-44 fedora-rawhide
675 msgid ""
676 "(vi) Equivalence class expressions, like \"I<[=a=]>\", where the string "
677 "between \"I<[=>\" and \"I<=]>\" is any collating element from its "
678 "equivalence class, as defined for the current locale. For example, "
679 "\"I<[[=a=]]>\" might be equivalent to \"I<[a\\('a\\(`a\\(:a\\(^a]>\", that "
680 "is, to \"I<[a[.a-acute.][.a-grave.][.a-umlaut.][.a-circumflex.]]>\"."
681 msgstr ""
682 "(vi) تعبيرات فئة التكافؤ، مثل ”I<[=a=]>“، حيث تكون السلسلة الواقعة بين "
683 "”I<[=>“ و ”I<=]>“ أي عنصر ترتيب من فئة التكافؤ الخاصة بها، وفقًا للتعريف "
684 "المحدد في الإعدادات المحلية الحالية. على سبيل المثال، قد يكون ”I<[[=a=]]>“ "
685 "مكافئًا لـ ”I<[a\\('a\\(`a\\(:a\\(^a]>“، أي لـ ”I<[a[.a-acute.][.a-grave.][.a-"
686 "umlaut.][.a-circumflex.]]>“."
687
688 #. type: TH
689 #: mageia-cauldron
690 #, no-wrap
691 msgid "Linux man-pages 6.17"
692 msgstr "صفحات دليل لينكس 6.17"
693
694 #. type: TH
695 #: opensuse-leap-16-1 opensuse-tumbleweed
696 #, no-wrap
697 msgid "Linux man-pages (unreleased)"
698 msgstr "صفحات دليل لينكس (لم تصدر بعد)"