Debian Codegraph @

po/ru/man3/rpmatch.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # aereiae <[email protected]>, 2014.
5 # Azamat Hackimov <[email protected]>, 2013-2014, 2016.
6 # Dmitriy S. Seregin <[email protected]>, 2013.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Lockal <[email protected]>, 2013.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Баринов Владимир, 2016.
11 # Иван Павлов <[email protected]>, 2017,2019.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, fuzzy, no-wrap
32 #| msgid "B<rpmatch>()"
33 msgid "rpmatch"
34 msgstr "B<rpmatch>()"
35
36 #. type: TH
37 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-22"
40 msgstr "22 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid ""
60 "rpmatch - determine if the answer to a question is affirmative or negative"
61 msgstr ""
62 "rpmatch - определяет, является ли ответ на вопрос утвердительным или "
63 "отрицательным"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "LIBRARY"
70 msgstr "БИБЛИОТЕКА"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "Standard C library (I<libc>,\\ I<-lc>)"
76 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "SYNOPSIS"
83 msgstr "СИНТАКСИС"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
90 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "B<int rpmatch(const char *>I<response>B<);>\n"
97 msgstr "B<int rpmatch(const char *>I<response>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
104 msgstr ""
105 "Требования макроса тестирования свойств для glibc (см. "
106 "B<feature_test_macros>(7)):"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, fuzzy
112 #| msgid "B<rpmatch>()"
113 msgid "B<rpmatch>():"
114 msgstr "B<rpmatch>()"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 " Since glibc 2.19:\n"
122 " _DEFAULT_SOURCE\n"
123 " glibc 2.19 and earlier:\n"
124 " _SVID_SOURCE\n"
125 msgstr ""
126 " начиная с glibc 2.19:\n"
127 " _DEFAULT_SOURCE\n"
128 " glibc 2.19 и старее:\n"
129 " _SVID_SOURCE\n"
130
131 #. type: SH
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid "DESCRIPTION"
136 msgstr "ОПИСАНИЕ"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "B<rpmatch>() handles a user response to yes or no questions, with support "
143 "for internationalization."
144 msgstr ""
145 "Функция B<rpmatch>() обрабатывает ответ пользователя «да» или «нет» на "
146 "вопросы, учитывая интернационализацию."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "I<response> should be a null-terminated string containing a user-supplied "
153 "response, perhaps obtained with B<fgets>(3) or B<getline>(3)."
154 msgstr ""
155 "В аргументе I<response> должен указываться ответ пользователя в виде строки, "
156 "заканчивающейся null, полученной, например, с помощью B<fgets>(3) или "
157 "B<getline>(3)."
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "The user's language preference is taken into account per the environment "
164 "variables B<LANG>, B<LC_MESSAGES>, and B<LC_ALL>, if the program has called "
165 "B<setlocale>(3) to effect their changes."
166 msgstr ""
167 "Пользовательские языковые настройки определяются с помощью переменных "
168 "окружения B<LANG>, B<LC_MESSAGES> и B<LC_ALL>, если для их учёта программа "
169 "вызывала B<setlocale>(3)."
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, fuzzy
175 #| msgid ""
176 #| "Regardless of the locale, responses matching B<^[Yy]> are always accepted "
177 #| "as affirmative, and those matching B<^[Nn]> are always accepted as "
178 #| "negative."
179 msgid ""
180 "Regardless of the locale, responses matching B<\\[ha][Yy]> are always "
181 "accepted as affirmative, and those matching B<\\[ha][Nn]> are always "
182 "accepted as negative."
183 msgstr ""
184 "Вне зависимости от локали, ответы, соответствующие B<^[Yy]>, всегда "
185 "считаются утвердительными, а соответствующие B<^[Nn]>, всегда принимаются за "
186 "отрицательные."
187
188 #. type: SH
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "RETURN VALUE"
193 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "After examining I<response>, B<rpmatch>() returns 0 for a recognized "
200 "negative response (\"no\"), 1 for a recognized positive response (\"yes\"), "
201 "and -1 when the value of I<response> is unrecognized."
202 msgstr ""
203 "После проверки I<response>, функция B<rpmatch>() возвращает 0 при найденном "
204 "отрицательном ответе («нет»), 1 при положительном ответе («да») и -1, когда "
205 "значение I<response> не распознано."
206
207 #. type: SH
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "ERRORS"
212 msgstr "ОШИБКИ"
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "A return value of -1 may indicate either an invalid input, or some other "
219 "error. It is incorrect to only test if the return value is nonzero."
220 msgstr ""
221 "Возвращаемое значение -1 может указывать на неправильные входные данные, "
222 "либо какую-то другую ошибку. Не стоит проверять является ли возвращаемое "
223 "значение лишь отличным от нуля."
224
225 #. type: Plain text
226 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
227 #: opensuse-leap-16-1 opensuse-tumbleweed
228 #, fuzzy
229 #| msgid ""
230 #| "B<rpmatch>() can fail for any of the reasons that B<regcomp>(3) or "
231 #| "B<regexec>(3) can fail; the cause of the error is not available from "
232 #| "I<errno> or anywhere else, but indicates a failure of the regex engine "
233 #| "(but this case is indistinguishable from that of an unrecognized value of "
234 #| "I<response>)."
235 msgid ""
236 "B<rpmatch>() can fail for any of the reasons that B<regcomp>(3) or "
237 "B<regexec>(3) can fail; the error is not available from I<errno> or "
238 "anywhere else, but indicates a failure of the regex engine (but this case is "
239 "indistinguishable from that of an unrecognized value of I<response>)."
240 msgstr ""
241 "Функция B<rpmatch>() может завершиться с ошибкой по любой из причин, по "
242 "которым могут не выполниться B<regcomp>(3) или B<regexec>(3); причина ошибки "
243 "не указывается в I<errno> или где-то ещё — это указывает на ошибку в самом "
244 "механизме regex (но этот случай не отличается от нераспознанных значений "
245 "I<response>)."
246
247 #. type: SH
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "ATTRIBUTES"
252 msgstr "АТРИБУТЫ"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "For an explanation of the terms used in this section, see B<attributes>(7)."
259 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "Interface"
266 msgstr "Интерфейс"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "Attribute"
273 msgstr "Атрибут"
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "Value"
280 msgstr "Значение"
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid ".na\n"
287 msgstr ".na\n"
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid ".nh\n"
294 msgstr ".nh\n"
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "B<rpmatch>()"
301 msgstr "B<rpmatch>()"
302
303 #. type: tbl table
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "Thread safety"
308 msgstr "Безвредность в нитях"
309
310 #. type: tbl table
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "MT-Safe locale"
315 msgstr "MT-Safe locale"
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "STANDARDS"
322 msgstr "СТАНДАРТЫ"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "None."
328 msgstr "Отсутствуют."
329
330 #. type: SH
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "HISTORY"
335 msgstr "ИСТОРИЯ"
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid "GNU, FreeBSD, AIX."
341 msgstr ""
342
343 #. type: SH
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "BUGS"
348 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
349
350 #. type: Plain text
351 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
352 #: opensuse-tumbleweed
353 msgid ""
354 "The B<YESEXPR> and B<NOEXPR> of some locales (including \"C\") only inspect "
355 "the first character of the I<response>. This can mean that \"yno\" et al."
356 "\\& resolve to B<1>. This is an unfortunate historical side-effect which "
357 "should be fixed in time with proper localisation, and should not deter from "
358 "B<rpmatch>() being the proper way to distinguish between binary answers."
359 msgstr ""
360
361 #. type: SH
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "EXAMPLES"
366 msgstr "ПРИМЕРЫ"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "The following program displays the results when B<rpmatch>() is applied to "
373 "the string given in the program's command-line argument."
374 msgstr ""
375 "Следующая программа показывает результаты, когда в B<rpmatch>() передана "
376 "строка, полученная программой из командной строки."
377
378 #. type: Plain text
379 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid ""
382 "#define _DEFAULT_SOURCE\n"
383 "#include E<lt>locale.hE<gt>\n"
384 "#include E<lt>stdio.hE<gt>\n"
385 "#include E<lt>stdlib.hE<gt>\n"
386 "#include E<lt>string.hE<gt>\n"
387 "\\&\n"
388 "#define streq(...) (strcmp(__VA_ARGS__) == 0)\n"
389 "\\&\n"
390 "int\n"
391 "main(int argc, char *argv[])\n"
392 "{\n"
393 " if (argc != 2 || streq(argv[1], \"--help\")) {\n"
394 " fprintf(stderr, \"%s response\\[rs]n\", argv[0]);\n"
395 " exit(EXIT_FAILURE);\n"
396 " }\n"
397 "\\&\n"
398 " setlocale(LC_ALL, \"\");\n"
399 " printf(\"rpmatch() returns: %d\\[rs]n\", rpmatch(argv[1]));\n"
400 " exit(EXIT_SUCCESS);\n"
401 "}\n"
402 msgstr ""
403
404 #. SRC END
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "SEE ALSO"
410 msgstr "СМОТРИТЕ ТАКЖЕ"
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 ""
416 "B<fgets>(3), B<getline>(3), B<nl_langinfo>(3), B<regcomp>(3), B<setlocale>(3)"
417 msgstr ""
418 "B<fgets>(3), B<getline>(3), B<nl_langinfo>(3), B<regcomp>(3), B<setlocale>(3)"
419
420 #. type: TH
421 #: debian-trixie
422 #, no-wrap
423 msgid "2024-06-15"
424 msgstr "15 июня 2024 г."
425
426 #. type: TH
427 #: debian-trixie
428 #, no-wrap
429 msgid "Linux man-pages 6.9.1"
430 msgstr "Страницы руководства Linux 6.9.1"
431
432 #. type: Plain text
433 #: debian-trixie
434 msgid "Standard C library (I<libc>, I<-lc>)"
435 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
436
437 #. type: Plain text
438 #: debian-trixie
439 msgid ""
440 "B<rpmatch>() can fail for any of the reasons that B<regcomp>(3) or "
441 "B<regexec>(3) can fail; the cause of the error is not available from "
442 "I<errno> or anywhere else, but indicates a failure of the regex engine (but "
443 "this case is indistinguishable from that of an unrecognized value of "
444 "I<response>)."
445 msgstr ""
446 "Функция B<rpmatch>() может завершиться с ошибкой по любой из причин, по "
447 "которым могут не выполниться B<regcomp>(3) или B<regexec>(3); причина ошибки "
448 "не указывается в I<errno> или где-то ещё — это указывает на ошибку в самом "
449 "механизме regex (но этот случай не отличается от нераспознанных значений "
450 "I<response>)."
451
452 #. type: Plain text
453 #: debian-trixie fedora-44 fedora-rawhide
454 msgid ""
455 "The B<YESEXPR> and B<NOEXPR> of some locales (including \"C\") only inspect "
456 "the first character of the I<response>. This can mean that \"yno\" et al. "
457 "resolve to B<1>. This is an unfortunate historical side-effect which should "
458 "be fixed in time with proper localisation, and should not deter from "
459 "B<rpmatch>() being the proper way to distinguish between binary answers."
460 msgstr ""
461
462 #. type: Plain text
463 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
464 #, no-wrap
465 msgid ""
466 "#define _DEFAULT_SOURCE\n"
467 "#include E<lt>locale.hE<gt>\n"
468 "#include E<lt>stdio.hE<gt>\n"
469 "#include E<lt>stdlib.hE<gt>\n"
470 "#include E<lt>string.hE<gt>\n"
471 "\\&\n"
472 "int\n"
473 "main(int argc, char *argv[])\n"
474 "{\n"
475 " if (argc != 2 || strcmp(argv[1], \"--help\") == 0) {\n"
476 " fprintf(stderr, \"%s response\\[rs]n\", argv[0]);\n"
477 " exit(EXIT_FAILURE);\n"
478 " }\n"
479 "\\&\n"
480 " setlocale(LC_ALL, \"\");\n"
481 " printf(\"rpmatch() returns: %d\\[rs]n\", rpmatch(argv[1]));\n"
482 " exit(EXIT_SUCCESS);\n"
483 "}\n"
484 msgstr ""
485
486 #. type: TH
487 #: fedora-44 fedora-rawhide
488 #, no-wrap
489 msgid "2024-07-23"
490 msgstr "23 июля 2024 г."
491
492 #. type: TH
493 #: fedora-44 fedora-rawhide
494 #, no-wrap
495 msgid "Linux man-pages 6.13"
496 msgstr "Страницы руководства Linux 6.13"
497
498 #. type: TH
499 #: mageia-cauldron
500 #, no-wrap
501 msgid "2026-02-08"
502 msgstr "8 февраля 2026 г."
503
504 #. type: TH
505 #: mageia-cauldron
506 #, no-wrap
507 msgid "Linux man-pages 6.17"
508 msgstr "Страницы руководства Linux 6.17"
509
510 #. type: TH
511 #: opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "Linux man-pages (unreleased)"
514 msgstr "Страницы руководства Linux (не выпущены)"