Debian Codegraph @

templates/man3/rpmatch.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "rpmatch"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-22"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid ""
49 "rpmatch - determine if the answer to a question is affirmative or negative"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
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 "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int rpmatch(const char *>I<response>B<);>\n"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid ""
90 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
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 "B<rpmatch>():"
97 msgstr ""
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 #, no-wrap
103 msgid ""
104 " Since glibc 2.19:\n"
105 " _DEFAULT_SOURCE\n"
106 " glibc 2.19 and earlier:\n"
107 " _SVID_SOURCE\n"
108 msgstr ""
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "B<rpmatch>() handles a user response to yes or no questions, with support "
122 "for internationalization."
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "I<response> should be a null-terminated string containing a user-supplied "
130 "response, perhaps obtained with B<fgets>(3) or B<getline>(3)."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "The user's language preference is taken into account per the environment "
138 "variables B<LANG>, B<LC_MESSAGES>, and B<LC_ALL>, if the program has called "
139 "B<setlocale>(3) to effect their changes."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Regardless of the locale, responses matching B<\\[ha][Yy]> are always "
147 "accepted as affirmative, and those matching B<\\[ha][Nn]> are always "
148 "accepted as negative."
149 msgstr ""
150
151 #. type: SH
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "RETURN VALUE"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "After examining I<response>, B<rpmatch>() returns 0 for a recognized "
163 "negative response (\"no\"), 1 for a recognized positive response (\"yes\"), "
164 "and -1 when the value of I<response> is unrecognized."
165 msgstr ""
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "ERRORS"
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "A return value of -1 may indicate either an invalid input, or some other "
179 "error. It is incorrect to only test if the return value is nonzero."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
184 #: opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "B<rpmatch>() can fail for any of the reasons that B<regcomp>(3) or "
187 "B<regexec>(3) can fail; the error is not available from I<errno> or "
188 "anywhere else, but indicates a failure of the regex engine (but this case is "
189 "indistinguishable from that of an unrecognized value of I<response>)."
190 msgstr ""
191
192 #. type: SH
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "ATTRIBUTES"
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "For an explanation of the terms used in this section, see B<attributes>(7)."
204 msgstr ""
205
206 #. type: tbl table
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "Interface"
211 msgstr ""
212
213 #. type: tbl table
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "Attribute"
218 msgstr ""
219
220 #. type: tbl table
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "Value"
225 msgstr ""
226
227 #. type: tbl table
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid ".na\n"
232 msgstr ""
233
234 #. type: tbl table
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid ".nh\n"
239 msgstr ""
240
241 #. type: tbl table
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "B<rpmatch>()"
246 msgstr ""
247
248 #. type: tbl table
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "Thread safety"
253 msgstr ""
254
255 #. type: tbl table
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "MT-Safe locale"
260 msgstr ""
261
262 #. type: SH
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "STANDARDS"
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "None."
273 msgstr ""
274
275 #. type: SH
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "HISTORY"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "GNU, FreeBSD, AIX."
286 msgstr ""
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "BUGS"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 msgid ""
299 "The B<YESEXPR> and B<NOEXPR> of some locales (including \"C\") only inspect "
300 "the first character of the I<response>. This can mean that \"yno\" et al."
301 "\\& resolve to B<1>. This is an unfortunate historical side-effect which "
302 "should be fixed in time with proper localisation, and should not deter from "
303 "B<rpmatch>() being the proper way to distinguish between binary answers."
304 msgstr ""
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "EXAMPLES"
311 msgstr ""
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "The following program displays the results when B<rpmatch>() is applied to "
318 "the string given in the program's command-line argument."
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid ""
325 "#define _DEFAULT_SOURCE\n"
326 "#include E<lt>locale.hE<gt>\n"
327 "#include E<lt>stdio.hE<gt>\n"
328 "#include E<lt>stdlib.hE<gt>\n"
329 "#include E<lt>string.hE<gt>\n"
330 "\\&\n"
331 "#define streq(...) (strcmp(__VA_ARGS__) == 0)\n"
332 "\\&\n"
333 "int\n"
334 "main(int argc, char *argv[])\n"
335 "{\n"
336 " if (argc != 2 || streq(argv[1], \"--help\")) {\n"
337 " fprintf(stderr, \"%s response\\[rs]n\", argv[0]);\n"
338 " exit(EXIT_FAILURE);\n"
339 " }\n"
340 "\\&\n"
341 " setlocale(LC_ALL, \"\");\n"
342 " printf(\"rpmatch() returns: %d\\[rs]n\", rpmatch(argv[1]));\n"
343 " exit(EXIT_SUCCESS);\n"
344 "}\n"
345 msgstr ""
346
347 #. SRC END
348 #. type: SH
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "SEE ALSO"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "B<fgets>(3), B<getline>(3), B<nl_langinfo>(3), B<regcomp>(3), B<setlocale>(3)"
360 msgstr ""
361
362 #. type: TH
363 #: debian-trixie
364 #, no-wrap
365 msgid "2024-06-15"
366 msgstr ""
367
368 #. type: TH
369 #: debian-trixie
370 #, no-wrap
371 msgid "Linux man-pages 6.9.1"
372 msgstr ""
373
374 #. type: Plain text
375 #: debian-trixie
376 msgid "Standard C library (I<libc>, I<-lc>)"
377 msgstr ""
378
379 #. type: Plain text
380 #: debian-trixie
381 msgid ""
382 "B<rpmatch>() can fail for any of the reasons that B<regcomp>(3) or "
383 "B<regexec>(3) can fail; the cause of the error is not available from "
384 "I<errno> or anywhere else, but indicates a failure of the regex engine (but "
385 "this case is indistinguishable from that of an unrecognized value of "
386 "I<response>)."
387 msgstr ""
388
389 #. type: Plain text
390 #: debian-trixie fedora-44 fedora-rawhide
391 msgid ""
392 "The B<YESEXPR> and B<NOEXPR> of some locales (including \"C\") only inspect "
393 "the first character of the I<response>. This can mean that \"yno\" et al. "
394 "resolve to B<1>. This is an unfortunate historical side-effect which should "
395 "be fixed in time with proper localisation, and should not deter from "
396 "B<rpmatch>() being the proper way to distinguish between binary answers."
397 msgstr ""
398
399 #. type: Plain text
400 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
401 #, no-wrap
402 msgid ""
403 "#define _DEFAULT_SOURCE\n"
404 "#include E<lt>locale.hE<gt>\n"
405 "#include E<lt>stdio.hE<gt>\n"
406 "#include E<lt>stdlib.hE<gt>\n"
407 "#include E<lt>string.hE<gt>\n"
408 "\\&\n"
409 "int\n"
410 "main(int argc, char *argv[])\n"
411 "{\n"
412 " if (argc != 2 || strcmp(argv[1], \"--help\") == 0) {\n"
413 " fprintf(stderr, \"%s response\\[rs]n\", argv[0]);\n"
414 " exit(EXIT_FAILURE);\n"
415 " }\n"
416 "\\&\n"
417 " setlocale(LC_ALL, \"\");\n"
418 " printf(\"rpmatch() returns: %d\\[rs]n\", rpmatch(argv[1]));\n"
419 " exit(EXIT_SUCCESS);\n"
420 "}\n"
421 msgstr ""
422
423 #. type: TH
424 #: fedora-44 fedora-rawhide
425 #, no-wrap
426 msgid "2024-07-23"
427 msgstr ""
428
429 #. type: TH
430 #: fedora-44 fedora-rawhide
431 #, no-wrap
432 msgid "Linux man-pages 6.13"
433 msgstr ""
434
435 #. type: TH
436 #: mageia-cauldron
437 #, no-wrap
438 msgid "2026-02-08"
439 msgstr ""
440
441 #. type: TH
442 #: mageia-cauldron
443 #, no-wrap
444 msgid "Linux man-pages 6.17"
445 msgstr ""
446
447 #. type: TH
448 #: opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "Linux man-pages (unreleased)"
451 msgstr ""