Debian Codegraph @

templates/man1/gawk.1.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:25+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: ds PX
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "\\s-1POSIX\\s+1"
24 msgstr ""
25
26 #. type: ds UX
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "\\s-1UNIX\\s+1"
31 msgstr ""
32
33 #. type: ds GN
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "\\s-1GNU\\s+1"
38 msgstr ""
39
40 #. type: ds AK
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "\\s-1AWK\\s+1"
45 msgstr ""
46
47 #. type: ds EP
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "I<GAWK: Effective AWK Programming>"
52 msgstr ""
53
54 #. type: TH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "GAWK"
59 msgstr ""
60
61 #. type: TH
62 #: archlinux fedora-rawhide opensuse-tumbleweed
63 #, no-wrap
64 msgid "February 10 2026"
65 msgstr ""
66
67 #. type: TH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "Free Software Foundation"
72 msgstr ""
73
74 #. type: TH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "Utility Commands"
79 msgstr ""
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "NAME"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid "gawk - pattern scanning and processing language"
92 msgstr ""
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "SYNOPSIS"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "B<gawk> [ \\*(PX or \\*(GN style options ] B<-f> I<program-file> [ B<-\\^-"
106 "> ] file .\\|.\\|."
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "B<gawk> [ \\*(PX or \\*(GN style options ] [ B<-\\^-> ] I<program-text> "
114 "file .\\|.\\|."
115 msgstr ""
116
117 #. type: SH
118 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
119 #: opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "README FIRST"
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux fedora-rawhide opensuse-tumbleweed
126 msgid ""
127 "This manual page is provided as a I<courtesy>. Please note that the One "
128 "Source Of Truth for I<gawk> is the Texinfo manual, available online in "
129 "several formats at I<https://www.gnu.org/software/gawk/manual>. It may also "
130 "be installed in the Info subsystem on your system, and available therefore "
131 "via the I<info>(1) command."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux fedora-rawhide opensuse-tumbleweed
136 msgid ""
137 "In the case of any contradiction between the Texinfo manual and this manual "
138 "page, the Texinfo manual should be considered to be authoritative."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux fedora-rawhide opensuse-tumbleweed
143 msgid ""
144 "Note that the Info documentation, HTML web page(s), and PDF version of the "
145 "manual all have the same content, since they are all generated from the same "
146 "Texinfo source file."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux fedora-rawhide opensuse-tumbleweed
151 msgid ""
152 "Furthermore, the I<gawk> maintainer reserves the right in the future to "
153 "remove this manual page from the distribution or to severely truncate the "
154 "content in order to ease his maintenance burden."
155 msgstr ""
156
157 #. type: SH
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "DESCRIPTION"
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "I<Gawk> is the \\*(GN Project's implementation of the \\*(AK programming "
169 "language. It conforms to the definition of the language in the \\*(PX "
170 "1003.1 standard. This version in turn is based on the description in I<The "
171 "AWK Programming Language>, by Aho, Kernighan, and Weinberger. I<Gawk> "
172 "provides the additional features found in the current version of Brian "
173 "Kernighan's I<awk> and numerous \\*(GN-specific extensions."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "The command line consists of options to I<gawk> itself, the \\*(AK program "
181 "text (if not supplied via the B<-f> or B<-\\^-include> options), and values "
182 "to be made available in the B<ARGC> and B<ARGV> pre-defined \\*(AK variables."
183 msgstr ""
184
185 #. type: SH
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "PREFACE"
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "This manual page is intentionally as terse as possible. Full details are "
197 "provided in \\*(EP, and you should look there for the full story on any "
198 "specific feature. Where possible, links to the online version of the manual "
199 "are provided."
200 msgstr ""
201
202 #. type: SH
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "OPTION FORMAT"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "I<Gawk> options may be either traditional \\*(PX-style one letter options, "
214 "or \\*(GN-style long options. \\*(PX options start with a single ``-'', "
215 "while long options start with ``-\\^-''. Long options are provided for both "
216 "\\*(GN-specific features and for \\*(PX-mandated features."
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "I<Gawk>-specific options are typically used in long-option form. Arguments "
224 "to long options are either joined with the option by an B<=> sign, with no "
225 "intervening spaces, or they may be provided in the next command line "
226 "argument. Long options may be abbreviated, as long as the abbreviation "
227 "remains unique."
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
232 #: opensuse-leap-16-1 opensuse-tumbleweed
233 msgid ""
234 "Additionally, every long option has a corresponding short option, so that "
235 "the option's functionality may be used from within B<#!\\&> executable "
236 "scripts."
237 msgstr ""
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "OPTIONS"
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "I<Gawk> accepts the following options. Standard options are listed first, "
251 "followed by options for I<gawk> extensions, listed alphabetically by short "
252 "option."
253 msgstr ""
254
255 #. type: TP
256 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
257 #: opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "B<-f>I< program-file>,I< >B<-\\^-file>I< program-file>"
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
264 #: opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "Read the \\*(AK program source from the file I<program-file>, instead of "
267 "from the first command line argument. Multiple B<-f> options may be used. "
268 "Files read with B<-f> are treated as if they begin with an implicit "
269 "B<@namespace \"awk\"> statement."
270 msgstr ""
271
272 #. type: TP
273 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
274 #: opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<-F>I< fs>, B<-\\^-field-separator>I< fs>"
277 msgstr ""
278
279 #. type: Plain text
280 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
281 #: opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "Use I<fs> for the input field separator (the value of the B<FS> predefined "
284 "variable)."
285 msgstr ""
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "B<-v>I< var>B<\\^=\\^>I<val>, B<-\\^-assign >I<var>B<\\^=\\^>I<val>"
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "Assign the value I<val> to the variable I<var>, before execution of the "
299 "program begins. Such variable values are available to the B<BEGIN> rule of "
300 "an \\*(AK program."
301 msgstr ""
302
303 #. type: TP
304 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
305 #: opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<-b>, B<-\\^-characters-as-bytes>"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
312 #: opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "Treat all input data as single-byte characters. The B<-\\^-posix> option "
315 "overrides this one."
316 msgstr ""
317
318 #. type: TP
319 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
320 #: opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<-c>, B<-\\^-traditional>"
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
327 #: opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "Run in I<compatibility> mode. In compatibility mode, I<gawk> behaves "
330 "identically to Brian Kernighan's I<awk>; none of the \\*(GN-specific "
331 "extensions are recognized."
332 msgstr ""
333
334 #. type: TP
335 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
336 #: opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "B<-C>, B<-\\^-copyright>"
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
343 #: opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "Print the short version of the \\*(GN copyright information message on the "
346 "standard output and exit successfully."
347 msgstr ""
348
349 #. type: TP
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "B<-d>[I<file>], B<-\\^-dump-variables>[B<=>I<file>]"
354 msgstr ""
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "Print a sorted list of global variables, their types and final values to "
361 "I<file>. The default file is B<awkvars.out> in the current directory."
362 msgstr ""
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<-D>[I<file>], B<-\\^-debug>[B<=>I<file>]"
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "Enable debugging of \\*(AK programs. By default, the debugger reads "
376 "commands interactively from the keyboard (standard input). The optional "
377 "I<file> argument specifies a file with a list of commands for the debugger "
378 "to execute non-interactively."
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "In this mode of execution, I<gawk> loads the AWK source code and then "
386 "prompts for debugging commands. I<Gawk> can only debug AWK program source "
387 "provided with the B<-f> and B<-\\^-include> options. The debugger is "
388 "documented in \\*(EP; see I<https://www.gnu.org/software/gawk/manual/"
389 "html_node/Debugger.html#Debugger>."
390 msgstr ""
391
392 #. type: TP
393 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
394 #: opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<-e>I< program-text>, B<-\\^-source>I< program-text>"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
401 #: opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "Use I<program-text> as \\*(AK program source code. Each argument supplied "
404 "via B<-e> is treated as if it begins with an implicit B<@namespace \"awk\"> "
405 "statement."
406 msgstr ""
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<-E >I<file>, B<-\\^-exec >I<file>"
413 msgstr ""
414
415 #. type: Plain text
416 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
417 #: opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "Similar to B<-f>, however, this option is the last one processed. This "
420 "should be used with B<#!\\&> scripts, particularly for CGI applications, to "
421 "avoid passing in options or source code (!\\&) on the command line from a "
422 "URL. This option disables command-line variable assignments."
423 msgstr ""
424
425 #. type: TP
426 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
427 #: opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "B<-g>, B<-\\^-gen-pot>"
430 msgstr ""
431
432 #. type: Plain text
433 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
434 #: opensuse-leap-16-1 opensuse-tumbleweed
435 msgid ""
436 "Scan and parse the \\*(AK program, and generate a \\*(GN B<\\&.pot> "
437 "(Portable Object Template) format file on standard output with entries for "
438 "all localizable strings in the program. The program itself is not executed."
439 msgstr ""
440
441 #. type: TP
442 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
443 #: opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<-h>, B<-\\^-help>"
446 msgstr ""
447
448 #. type: Plain text
449 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
450 #: opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Print a relatively short summary of the available options on the standard "
453 "output. Per the I<GNU Coding Standards>, these options cause an immediate, "
454 "successful exit."
455 msgstr ""
456
457 #. type: TP
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "B<-i >I<include-file>, B<-\\^-include >I<include-file>"
462 msgstr ""
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "Load an awk source library. This searches for the library using the "
469 "B<AWKPATH> environment variable. If the initial search fails, another "
470 "attempt will be made after appending the B<\\&.awk> suffix. The file will "
471 "be loaded only once (i.e., duplicates are eliminated), and the code does not "
472 "constitute the main program source. Files read with B<-\\^-include> are "
473 "treated as if they begin with an implicit B<@namespace \"awk\"> statement."
474 msgstr ""
475
476 #. type: TP
477 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
478 #: opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<-I>, B<-\\^-trace>"
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
485 #: opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "Print the internal byte code names as they are executed when running the "
488 "program. The trace is printed to standard error. Each ``op code'' is "
489 "preceded by a B<+> sign in the output."
490 msgstr ""
491
492 #. type: TP
493 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
494 #: opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "B<-k>, B<-\\^-csv>"
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
501 #: opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "Enable CSV special processing. See B<Comma Separated Values>, below, for "
504 "more detail."
505 msgstr ""
506
507 #. type: TP
508 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
509 #: opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<-l>I< lib>, B<-\\^-load>I< lib>"
512 msgstr ""
513
514 #. type: Plain text
515 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
516 #: opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "Load a I<gawk> extension from the shared library I<lib>. This searches for "
519 "the library using the B<AWKLIBPATH> environment variable. If the initial "
520 "search fails, another attempt will be made after appending the default "
521 "shared library suffix for the platform. The library initialization routine "
522 "is expected to be named B<dl_load()>."
523 msgstr ""
524
525 #. type: TP
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "B<-L >[I<value>], B<-\\^-lint>[B<=>I<value>]"
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "Provide warnings about constructs that are dubious or non-portable to other "
537 "\\*(AK implementations. See I<https://www.gnu.org/software/gawk/manual/"
538 "html_node/Options.html#Options> for the list of possible values for I<value>."
539 msgstr ""
540
541 #. type: TP
542 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
543 #: opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "B<-M>, B<-\\^-bignum>"
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
550 #: opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "Force arbitrary precision arithmetic on numbers. This option has no effect "
553 "if I<gawk> is not compiled to use the GNU MPFR and GMP libraries. (In such "
554 "a case, I<gawk> issues a warning.)"
555 msgstr ""
556
557 #. type: Plain text
558 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
559 #: opensuse-leap-16-1 opensuse-tumbleweed
560 msgid ""
561 "B<NOTE:> This feature is I<on parole>. The primary I<gawk> maintainer is no "
562 "longer supporting it, although there is a member of the development team who "
563 "is. If this situation changes, the feature will be removed from I<gawk>."
564 msgstr ""
565
566 #. type: TP
567 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
568 #: opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "B<-n>, B<-\\^-non-decimal-data>"
571 msgstr ""
572
573 #. type: Plain text
574 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
575 #: opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "Recognize octal and hexadecimal values in input data. I<Use this option "
578 "with great caution!>"
579 msgstr ""
580
581 #. type: TP
582 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
583 #: opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<-N>, B<-\\^-use-lc-numeric>"
586 msgstr ""
587
588 #. type: Plain text
589 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
590 #: opensuse-leap-16-1 opensuse-tumbleweed
591 msgid ""
592 "Force I<gawk> to use the locale's decimal point character when parsing input "
593 "data."
594 msgstr ""
595
596 #. type: TP
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "B<-o>[I<file>], B<-\\^-pretty-print>[B<=>I<file>]"
601 msgstr ""
602
603 #. type: Plain text
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 msgid ""
607 "Output a pretty printed version of the program to I<file>. The default file "
608 "is B<awkprof.out> in the current directory. This option implies B<-\\^-no-"
609 "optimize>."
610 msgstr ""
611
612 #. type: TP
613 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
614 #: opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "B<-O>, B<-\\^-optimize>"
617 msgstr ""
618
619 #. type: Plain text
620 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
621 #: opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "Enable I<gawk>'s default optimizations upon the internal representation of "
624 "the program. This option is on by default."
625 msgstr ""
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<-p>[I<prof-file>], B<-\\^-profile>[B<=>I<prof-file>]"
632 msgstr ""
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "Start a profiling session, and send the profiling data to I<prof-file>. The "
639 "default is B<awkprof.out> in the current directory. The profile contains "
640 "execution counts of each statement in the program in the left margin and "
641 "function call counts for each user-defined function. I<Gawk> runs more "
642 "slowly in this mode. This option implies B<-\\^-no-optimize>."
643 msgstr ""
644
645 #. type: TP
646 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
647 #: opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "B<-P>, B<-\\^-posix>"
650 msgstr ""
651
652 #. type: Plain text
653 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
654 #: opensuse-leap-16-1 opensuse-tumbleweed
655 msgid ""
656 "This turns on I<compatibility> mode, and disables a number of common "
657 "extensions."
658 msgstr ""
659
660 #. type: TP
661 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
662 #: opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "B<-r>, B<-\\^-re-interval>"
665 msgstr ""
666
667 #. type: Plain text
668 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
669 #: opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "Enable the use of I<interval expressions> in regular expression matching. "
672 "Interval expressions are enabled by default, but this option remains for "
673 "backwards compatibility."
674 msgstr ""
675
676 #. type: TP
677 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
678 #: opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "B<-s>, B<-\\^-no-optimize>"
681 msgstr ""
682
683 #. type: Plain text
684 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
685 #: opensuse-leap-16-1 opensuse-tumbleweed
686 msgid ""
687 "Disable I<gawk>'s default optimizations upon the internal representation of "
688 "the program."
689 msgstr ""
690
691 #. type: TP
692 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
693 #: opensuse-leap-16-1 opensuse-tumbleweed
694 #, no-wrap
695 msgid "B<-S>, B<-\\^-sandbox>"
696 msgstr ""
697
698 #. type: Plain text
699 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
700 #: opensuse-leap-16-1 opensuse-tumbleweed
701 msgid ""
702 "Run I<gawk> in sandbox mode, disabling the B<system()> function, input "
703 "redirection with B<getline>, output redirection with B<print> and B<printf>, "
704 "and loading dynamic extensions. Command execution (through pipelines) is "
705 "also disabled."
706 msgstr ""
707
708 #. type: TP
709 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
710 #: opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "B<-t>, B<-\\^-lint-old>"
713 msgstr ""
714
715 #. type: Plain text
716 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
717 #: opensuse-leap-16-1 opensuse-tumbleweed
718 msgid ""
719 "Provide warnings about constructs that are not portable to the original "
720 "version of \\*(UX I<awk>."
721 msgstr ""
722
723 #. type: TP
724 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
725 #: opensuse-leap-16-1 opensuse-tumbleweed
726 #, no-wrap
727 msgid "B<-V>, B<-\\^-version>"
728 msgstr ""
729
730 #. type: Plain text
731 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
732 #: opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "Print version information for this particular copy of I<gawk> on the "
735 "standard output. This is useful when reporting bugs. Per the I<GNU Coding "
736 "Standards>, these options cause an immediate, successful exit."
737 msgstr ""
738
739 #. type: TP
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "B<-\\^->"
744 msgstr ""
745
746 #. type: Plain text
747 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
748 #: opensuse-leap-16-1 opensuse-tumbleweed
749 msgid ""
750 "Signal the end of options. This is useful to allow further arguments to the "
751 "\\*(AK program itself to start with a ``-''."
752 msgstr ""
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 msgid ""
758 "In compatibility mode, any other options are flagged as invalid, but are "
759 "otherwise ignored. In normal operation, as long as program text has been "
760 "supplied, unknown options are passed on to the \\*(AK program in the B<ARGV> "
761 "array for processing."
762 msgstr ""
763
764 #. type: Plain text
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 msgid ""
768 "For \\*(PX compatibility, the B<-W> option may be used, followed by the name "
769 "of a long option."
770 msgstr ""
771
772 #. type: SH
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 #, no-wrap
776 msgid "AWK PROGRAM EXECUTION"
777 msgstr ""
778
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid ""
783 "An \\*(AK program consists of a sequence of optional directives, pattern-"
784 "action statements, and optional function definitions."
785 msgstr ""
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "B<@include \">I<filename\\^>B<\">"
791 msgstr ""
792
793 #. type: Plain text
794 #: archlinux fedora-rawhide opensuse-tumbleweed
795 msgid "B<@nsinclude \">I<filename\\^>B<\">"
796 msgstr ""
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 msgid "B<@load \">I<filename\\^>B<\">"
802 msgstr ""
803
804 #. type: Plain text
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 msgid "B<@namespace \">I<name\\^>B<\">"
808 msgstr ""
809
810 #. type: Plain text
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 msgid "I<pattern>B<\t{ >I<action statements>B< }>"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid "B<function >I<name>B<(>I<parameter list>B<) { >I<statements>B< }>"
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 msgid ""
826 "I<Gawk> first reads the program source from the I<program-file>(s) if "
827 "specified, from arguments to B<-\\^-source>, or from the first non-option "
828 "argument on the command line. The B<-f> and B<-\\^-source> options may be "
829 "used multiple times on the command line. I<Gawk> reads the program text as "
830 "if all the I<program-file>s and command line source texts had been "
831 "concatenated together."
832 msgstr ""
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 msgid ""
838 "In addition, lines beginning with B<@include> may be used to include other "
839 "source files into your program. This is equivalent to using the B<-\\^-"
840 "include> option."
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux fedora-rawhide opensuse-tumbleweed
845 msgid ""
846 "Lines beginning with B<@nsinclude> also include files, but with two "
847 "differences. First, the namespace in the included file is I<not> reset to "
848 "the default of B<awk>, and such files may be included multiple times."
849 msgstr ""
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid ""
855 "Lines beginning with B<@load> may be used to load extension functions into "
856 "your program. This is equivalent to using the B<-\\^-load> option."
857 msgstr ""
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "The environment variable B<AWKPATH> specifies a search path to use when "
864 "finding source files named with the B<-f> and B<-\\^-include> options. If "
865 "this variable does not exist, the default path is B<\".:/usr/local/share/"
866 "awk\">. (The actual directory may vary, depending upon how I<gawk> was "
867 "built and installed.) If a file name given to the B<-f> option contains a "
868 "``/'' character, no path search is performed."
869 msgstr ""
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid ""
875 "The environment variable B<AWKLIBPATH> specifies a search path to use when "
876 "finding source files named with the B<-\\^-load> option. If this variable "
877 "does not exist, the default path is B<\"/usr/local/lib/gawk\">. (The actual "
878 "directory may vary, depending upon how I<gawk> was built and installed.)"
879 msgstr ""
880
881 #. type: Plain text
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 msgid ""
885 "I<Gawk> executes \\*(AK programs in the following order. First, all "
886 "variable assignments specified via the B<-v> option are performed. Next, "
887 "I<gawk> compiles the program into an internal form. Then, I<gawk> executes "
888 "the code in the B<BEGIN> rule(s) (if any), and then proceeds to read each "
889 "file named in the B<ARGV> array (up to B<ARGV[ARGC-1]>). If there are no "
890 "files named on the command line, I<gawk> reads the standard input."
891 msgstr ""
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid ""
897 "If a filename on the command line has the form I<var>B<=>I<val> it is "
898 "treated as a variable assignment. The variable I<var> will be assigned the "
899 "value I<val>. (This happens after any B<BEGIN> rule(s) have been run.)"
900 msgstr ""
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "If the value of a particular element of B<ARGV> is empty (B<\"\">), I<gawk> "
907 "skips over it."
908 msgstr ""
909
910 #. type: Plain text
911 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
912 #: opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "For each input file, if a B<BEGINFILE> rule exists, I<gawk> executes the "
915 "associated code before processing the contents of the file. Similarly, "
916 "I<gawk> executes the code associated with B<ENDFILE> rules after processing "
917 "the file."
918 msgstr ""
919
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 msgid ""
924 "For each record in the input, I<gawk> tests to see if it matches any "
925 "I<pattern> in the \\*(AK program. For each pattern that the record matches, "
926 "I<gawk> executes the associated I<action>. The patterns are tested in the "
927 "order they occur in the program."
928 msgstr ""
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 msgid ""
934 "Finally, after all the input is exhausted, I<gawk> executes the code in the "
935 "B<END> rule(s) (if any)."
936 msgstr ""
937
938 #. type: SS
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, no-wrap
942 msgid "Command Line Directories"
943 msgstr ""
944
945 #. type: Plain text
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 msgid ""
949 "According to POSIX, files named on the I<awk> command line must be text "
950 "files. The behavior is ``undefined'' if they are not. Most versions of "
951 "I<awk> treat a directory on the command line as a fatal error."
952 msgstr ""
953
954 #. type: Plain text
955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
957 msgid ""
958 "For I<gawk>, a directory on the command line produces a warning, but is "
959 "otherwise skipped. If either of the B<-\\^-posix> or B<-\\^-traditional> "
960 "options is given, then I<gawk> reverts to treating directories on the "
961 "command line as a fatal error."
962 msgstr ""
963
964 #. type: SH
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "VARIABLES, RECORDS AND FIELDS"
969 msgstr ""
970
971 #. type: Plain text
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 msgid ""
975 "\\*(AK variables are dynamic; they come into existence when they are first "
976 "used. Their values are either floating-point numbers or strings, or both, "
977 "depending upon how they are used. Additionally, I<gawk> allows variables to "
978 "have regular-expression type. \\*(AK also has one dimensional arrays; "
979 "arrays with multiple dimensions may be simulated. However, I<gawk> provides "
980 "true arrays of arrays. Several pre-defined variables are set as a program "
981 "runs; these are described as needed and summarized below."
982 msgstr ""
983
984 #. type: SS
985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
987 #, no-wrap
988 msgid "Records"
989 msgstr ""
990
991 #. type: Plain text
992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
994 msgid ""
995 "Normally, records are separated by newline characters. You can control how "
996 "records are separated by assigning values to the built-in variable B<RS>. "
997 "See I<https://www.gnu.org/software/gawk/manual/html_node/Records.html> for "
998 "the details."
999 msgstr ""
1000
1001 #. type: SS
1002 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1003 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1004 #, no-wrap
1005 msgid "Fields"
1006 msgstr ""
1007
1008 #. type: Plain text
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 msgid ""
1012 "As each input record is read, I<gawk> splits the record into I<fields>, "
1013 "using the value of the B<FS> variable as the field separator. Additionally, "
1014 "B<FIELDWIDTHS> and B<FPAT> may be used to control input field splitting. "
1015 "See the details, starting at I<https://www.gnu.org/software/gawk/manual/"
1016 "html_node/Fields.html>."
1017 msgstr ""
1018
1019 #. type: Plain text
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 msgid ""
1023 "Each field in the input record may be referenced by its position: B<$1>, "
1024 "B<$2>, and so on. B<$0> is the whole record, including leading and trailing "
1025 "whitespace."
1026 msgstr ""
1027
1028 #. type: Plain text
1029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1030 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1031 msgid ""
1032 "The variable B<NF> is set to the total number of fields in the input record."
1033 msgstr ""
1034
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "References to non-existent fields (i.e., fields after B<$NF>) produce the "
1040 "null string. However, assigning to a non-existent field (e.g., B<$(NF+2) = "
1041 "5>) increases the value of B<NF>, creates any intervening fields with the "
1042 "null string as their values, and causes the value of B<$0> to be recomputed, "
1043 "with the fields being separated by the value of B<OFS>. References to "
1044 "negative numbered fields cause a fatal error. Decrementing B<NF> causes the "
1045 "values of fields past the new value to be lost, and the value of B<$0> to be "
1046 "recomputed, with the fields being separated by the value of B<OFS>."
1047 msgstr ""
1048
1049 #. type: Plain text
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 msgid ""
1053 "Assigning a value to an existing field causes the whole record to be rebuilt "
1054 "when B<$0> is referenced. Similarly, assigning a value to B<$0> causes the "
1055 "record to be resplit, creating new values for the fields."
1056 msgstr ""
1057
1058 #. type: SS
1059 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1060 #: opensuse-leap-16-1 opensuse-tumbleweed
1061 #, no-wrap
1062 msgid "Comma Separated Values"
1063 msgstr ""
1064
1065 #. type: Plain text
1066 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1067 #: opensuse-leap-16-1 opensuse-tumbleweed
1068 msgid ""
1069 "When invoked with either the B<-k> or the B<-\\^-csv> option, I<gawk> does "
1070 "not use regular record determination and field splitting as described "
1071 "above. Instead, records are terminated by unquoted newlines, and fields are "
1072 "separated by commas. Double-quotes may be used to enclose fields containing "
1073 "commas, newlines, or doubled double-quotes. See I<https://www.gnu.org/"
1074 "software/gawk/manual/html_node/Comma-Separated-Fields.html> for more details."
1075 msgstr ""
1076
1077 #. type: SS
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 #, no-wrap
1081 msgid "Built-in Variables"
1082 msgstr ""
1083
1084 #. type: Plain text
1085 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1086 #: opensuse-leap-16-1 opensuse-tumbleweed
1087 msgid ""
1088 "I<Gawk\\^>'s built-in variables are listed below. This list is purposely "
1089 "terse. For details, see I<https://www.gnu.org/software/gawk/manual/"
1090 "html_node/Built_002din-Variables>."
1091 msgstr ""
1092
1093 #. type: TP
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 #, no-wrap
1097 msgid "B<ARGC>"
1098 msgstr ""
1099
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid "The number of command line arguments."
1104 msgstr ""
1105
1106 #. type: TP
1107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1109 #, no-wrap
1110 msgid "B<ARGIND>"
1111 msgstr ""
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid "The index in B<ARGV> of the current file being processed."
1117 msgstr ""
1118
1119 #. type: TP
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 #, no-wrap
1123 msgid "B<ARGV>"
1124 msgstr ""
1125
1126 #. type: Plain text
1127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1129 msgid ""
1130 "Array of command line arguments. The array is indexed from 0 to B<ARGC> - 1."
1131 msgstr ""
1132
1133 #. type: TP
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 #, no-wrap
1137 msgid "B<BINMODE>"
1138 msgstr ""
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 msgid ""
1144 "On non-POSIX systems, specifies use of ``binary'' mode for all file I/O. "
1145 "See I<https://www.gnu.org/software/gawk/manual/html_node/PC-Using.html> for "
1146 "the details."
1147 msgstr ""
1148
1149 #. type: TP
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 #, no-wrap
1153 msgid "B<CONVFMT>"
1154 msgstr ""
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid "The conversion format for numbers, B<\"%.6g\">, by default."
1160 msgstr ""
1161
1162 #. type: TP
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "B<ENVIRON>"
1167 msgstr ""
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 msgid ""
1173 "An array containing the values of the current environment. The array is "
1174 "indexed by the environment variables, each element being the value of that "
1175 "variable."
1176 msgstr ""
1177
1178 #. type: TP
1179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1181 #, no-wrap
1182 msgid "B<ERRNO>"
1183 msgstr ""
1184
1185 #. type: Plain text
1186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1188 msgid ""
1189 "If a system error occurs either doing a redirection for B<getline>, during a "
1190 "read for B<getline>, or during a B<close()>, then B<ERRNO> is set to a "
1191 "string describing the error. The value is subject to translation in non-"
1192 "English locales."
1193 msgstr ""
1194
1195 #. type: TP
1196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1198 #, no-wrap
1199 msgid "B<FIELDWIDTHS>"
1200 msgstr ""
1201
1202 #. type: Plain text
1203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1205 msgid ""
1206 "A whitespace-separated list of field widths. When set, I<gawk> parses the "
1207 "input into fields of fixed width, instead of using the value of the B<FS> "
1208 "variable as the field separator. Each field width may optionally be "
1209 "preceded by a colon-separated value specifying the number of characters to "
1210 "skip before the field starts."
1211 msgstr ""
1212
1213 #. type: TP
1214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1216 #, no-wrap
1217 msgid "B<FILENAME>"
1218 msgstr ""
1219
1220 #. type: Plain text
1221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1223 msgid ""
1224 "The name of the current input file. If no files are specified on the "
1225 "command line, the value of B<FILENAME> is ``-''. However, B<FILENAME> is "
1226 "undefined inside the B<BEGIN> rule (unless set by B<getline>)."
1227 msgstr ""
1228
1229 #. type: TP
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 #, no-wrap
1233 msgid "B<FNR>"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1239 msgid "The input record number in the current input file."
1240 msgstr ""
1241
1242 #. type: TP
1243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1245 #, no-wrap
1246 msgid "B<FPAT>"
1247 msgstr ""
1248
1249 #. type: Plain text
1250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1252 msgid ""
1253 "A regular expression describing the contents of the fields in a record. "
1254 "When set, I<gawk> parses the input into fields, where the fields match the "
1255 "regular expression, instead of using the value of B<FS> as the field "
1256 "separator."
1257 msgstr ""
1258
1259 #. type: TP
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 #, no-wrap
1263 msgid "B<FS>"
1264 msgstr ""
1265
1266 #. type: Plain text
1267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1269 msgid ""
1270 "The input field separator, a space by default. See I<https://www.gnu.org/"
1271 "software/gawk/manual/html_node/Field-Separators.html> for the details."
1272 msgstr ""
1273
1274 #. type: TP
1275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1277 #, no-wrap
1278 msgid "B<FUNCTAB>"
1279 msgstr ""
1280
1281 #. type: Plain text
1282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1284 msgid ""
1285 "An array whose indices and corresponding values are the names of all the "
1286 "user-defined or extension functions in the program. B<NOTE>: You may not "
1287 "use the B<delete> statement with the B<FUNCTAB> array."
1288 msgstr ""
1289
1290 #. type: TP
1291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1293 #, no-wrap
1294 msgid "B<IGNORECASE>"
1295 msgstr ""
1296
1297 #. type: Plain text
1298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1300 msgid ""
1301 "Controls the case-sensitivity of all regular expression and string "
1302 "operations. See I<https://www.gnu.org/software/gawk/manual/html_node/"
1303 "Case_002dsensitivity.html> for details."
1304 msgstr ""
1305
1306 #. type: TP
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 #, no-wrap
1310 msgid "B<LINT>"
1311 msgstr ""
1312
1313 #. type: Plain text
1314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1316 msgid ""
1317 "Provides dynamic control of the B<-\\^-lint> option from within an \\*(AK "
1318 "program."
1319 msgstr ""
1320
1321 #. type: TP
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 #, no-wrap
1325 msgid "B<NF>"
1326 msgstr ""
1327
1328 #. type: Plain text
1329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1331 msgid "The number of fields in the current input record."
1332 msgstr ""
1333
1334 #. type: TP
1335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1337 #, no-wrap
1338 msgid "B<NR>"
1339 msgstr ""
1340
1341 #. type: Plain text
1342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1344 msgid "The total number of input records seen so far."
1345 msgstr ""
1346
1347 #. type: TP
1348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1350 #, no-wrap
1351 msgid "B<OFMT>"
1352 msgstr ""
1353
1354 #. type: Plain text
1355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1357 msgid "The output format for numbers, B<\"%.6g\">, by default."
1358 msgstr ""
1359
1360 #. type: TP
1361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1363 #, no-wrap
1364 msgid "B<OFS>"
1365 msgstr ""
1366
1367 #. type: Plain text
1368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1370 msgid "The output field separator, a space by default."
1371 msgstr ""
1372
1373 #. type: TP
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1376 #, no-wrap
1377 msgid "B<ORS>"
1378 msgstr ""
1379
1380 #. type: Plain text
1381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1383 msgid "The output record separator, by default a newline."
1384 msgstr ""
1385
1386 #. type: TP
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 #, no-wrap
1390 msgid "B<PREC>"
1391 msgstr ""
1392
1393 #. type: Plain text
1394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1396 msgid ""
1397 "The working precision of arbitrary precision floating-point numbers, 53 by "
1398 "default."
1399 msgstr ""
1400
1401 #. type: TP
1402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1404 #, no-wrap
1405 msgid "B<PROCINFO>"
1406 msgstr ""
1407
1408 #. type: Plain text
1409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1411 msgid ""
1412 "The elements of this array provide access to information about the running "
1413 "\\*(AK program. See I<https://www.gnu.org/software/gawk/manual/html_node/"
1414 "Auto_002dset> for the details."
1415 msgstr ""
1416
1417 #. type: TP
1418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1420 #, no-wrap
1421 msgid "B<ROUNDMODE>"
1422 msgstr ""
1423
1424 #. type: Plain text
1425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1427 msgid ""
1428 "The rounding mode to use for arbitrary precision arithmetic on numbers, by "
1429 "default B<\"N\"> (IEEE-754 roundTiesToEven mode). See I<https://www.gnu.org/"
1430 "software/gawk/manual/html_node/Setting-the-rounding-mode> for the details."
1431 msgstr ""
1432
1433 #. type: TP
1434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1436 #, no-wrap
1437 msgid "B<RS>"
1438 msgstr ""
1439
1440 #. type: Plain text
1441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1443 msgid "The input record separator, by default a newline."
1444 msgstr ""
1445
1446 #. type: TP
1447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1449 #, no-wrap
1450 msgid "B<RT>"
1451 msgstr ""
1452
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid ""
1457 "The record terminator. I<Gawk> sets B<RT> to the input text that matched "
1458 "the character or regular expression specified by B<RS>."
1459 msgstr ""
1460
1461 #. type: TP
1462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1464 #, no-wrap
1465 msgid "B<RSTART>"
1466 msgstr ""
1467
1468 #. type: Plain text
1469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1471 msgid "The index of the first character matched by B<match()>; 0 if no match."
1472 msgstr ""
1473
1474 #. type: TP
1475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1477 #, no-wrap
1478 msgid "B<RLENGTH>"
1479 msgstr ""
1480
1481 #. type: Plain text
1482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1484 msgid "The length of the string matched by B<match()>; -1 if no match."
1485 msgstr ""
1486
1487 #. type: TP
1488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1490 #, no-wrap
1491 msgid "B<SUBSEP>"
1492 msgstr ""
1493
1494 #. type: Plain text
1495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1497 msgid ""
1498 "The string used to separate multiple subscripts in array elements, by "
1499 "default B<\"\\e034\">."
1500 msgstr ""
1501
1502 #. type: TP
1503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1505 #, no-wrap
1506 msgid "B<SYMTAB>"
1507 msgstr ""
1508
1509 #. type: Plain text
1510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1512 msgid ""
1513 "An array whose indices are the names of all currently defined global "
1514 "variables and arrays in the program. You may not use the B<delete> "
1515 "statement with the B<SYMTAB> array, nor assign to elements with an index "
1516 "that is not a variable name."
1517 msgstr ""
1518
1519 #. type: TP
1520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1522 #, no-wrap
1523 msgid "B<TEXTDOMAIN>"
1524 msgstr ""
1525
1526 #. type: Plain text
1527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1529 msgid ""
1530 "The text domain of the \\*(AK program; used to find the localized "
1531 "translations for the program's strings."
1532 msgstr ""
1533
1534 #. type: SS
1535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1537 #, no-wrap
1538 msgid "Arrays"
1539 msgstr ""
1540
1541 #. type: Plain text
1542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1544 msgid ""
1545 "Arrays are subscripted with an expression between square brackets (B<[> and "
1546 "B<]>). If the expression is an expression list (I<expr>, I<expr> .\\|."
1547 "\\|.) then the array subscript is a string consisting of the concatenation "
1548 "of the (string) value of each expression, separated by the value of the "
1549 "B<SUBSEP> variable. This facility is used to simulate multiply dimensioned "
1550 "arrays. For example:"
1551 msgstr ""
1552
1553 #. type: Plain text
1554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1556 msgid "B<i = \"A\";\\^ j = \"B\";\\^ k = \"C\">"
1557 msgstr ""
1558
1559 #. type: Plain text
1560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1562 msgid "B<x[i, j, k] = \"hello, world\\en\">"
1563 msgstr ""
1564
1565 #. type: Plain text
1566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1568 msgid ""
1569 "assigns the string B<\"hello,\\ world\\en\"> to the element of the array "
1570 "B<x> which is indexed by the string B<\"A\\e034B\\e034C\">. All arrays in "
1571 "\\*(AK are associative, i.e., indexed by string values."
1572 msgstr ""
1573
1574 #. type: Plain text
1575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1577 msgid ""
1578 "The special operator B<in> may be used to test if an array has an index "
1579 "consisting of a particular value:"
1580 msgstr ""
1581
1582 #. type: Plain text
1583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1585 #, no-wrap
1586 msgid ""
1587 "B<if (val in array)\n"
1588 "\tprint array[val]>\n"
1589 msgstr ""
1590
1591 #. type: Plain text
1592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1594 msgid "If the array has multiple subscripts, use B<(i, j) in array>."
1595 msgstr ""
1596
1597 #. type: Plain text
1598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1600 msgid ""
1601 "The B<in> construct may also be used in a B<for> loop to iterate over all "
1602 "the elements of an array. However, the B<(i, j) in array> construct only "
1603 "works in tests, not in B<for> loops."
1604 msgstr ""
1605
1606 #. type: Plain text
1607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1609 msgid ""
1610 "An element may be deleted from an array using the B<delete> statement. The "
1611 "B<delete> statement may also be used to delete the entire contents of an "
1612 "array, just by specifying the array name without a subscript."
1613 msgstr ""
1614
1615 #. type: Plain text
1616 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1617 #: opensuse-leap-16-1 opensuse-tumbleweed
1618 msgid ""
1619 "I<gawk> supports true multidimensional arrays. It does not require that "
1620 "such arrays be ``rectangular'' as in C or C++. See I<https://www.gnu.org/"
1621 "software/gawk/manual/html_node/Arrays> for details."
1622 msgstr ""
1623
1624 #. type: SS
1625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1627 #, no-wrap
1628 msgid "Namespaces"
1629 msgstr ""
1630
1631 #. type: Plain text
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 msgid ""
1635 "I<Gawk> provides a simple I<namespace> facility to help work around the fact "
1636 "that all variables in AWK are global."
1637 msgstr ""
1638
1639 #. type: Plain text
1640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1642 msgid ""
1643 "A I<qualified name> consists of a two simple identifiers joined by a double "
1644 "colon (B<::>). The left-hand identifier represents the namespace and the "
1645 "right-hand identifier is the variable within it. All simple (non-qualified) "
1646 "names are considered to be in the ``current'' namespace; the default "
1647 "namespace is B<awk>. However, simple identifiers consisting solely of "
1648 "uppercase letters are forced into the B<awk> namespace, even if the current "
1649 "namespace is different."
1650 msgstr ""
1651
1652 #. type: Plain text
1653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1655 msgid ""
1656 "You change the current namespace with an B<@namespace \">I<name\\^>B<\"> "
1657 "directive."
1658 msgstr ""
1659
1660 #. type: Plain text
1661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1663 msgid ""
1664 "The standard predefined builtin function names may not be used as namespace "
1665 "names. The names of additional functions provided by I<gawk> may be used as "
1666 "namespace names or as simple identifiers in other namespaces. For more "
1667 "details, see I<https://www.gnu.org/software/gawk/manual/html_node/"
1668 "Namespaces.html#Namespaces>."
1669 msgstr ""
1670
1671 #. type: SS
1672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1674 #, no-wrap
1675 msgid "Variable Typing And Conversion"
1676 msgstr ""
1677
1678 #. type: Plain text
1679 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1680 #: opensuse-leap-16-1 opensuse-tumbleweed
1681 msgid ""
1682 "Variables and fields may be (floating point) numbers, or strings, or both. "
1683 "They may also be regular expressions. How the value of a variable is "
1684 "interpreted depends upon its context. If used in a numeric expression, it "
1685 "will be treated as a number; if used as a string it will be treated as a "
1686 "string."
1687 msgstr ""
1688
1689 #. type: Plain text
1690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1692 msgid ""
1693 "To force a variable to be treated as a number, add zero to it; to force it "
1694 "to be treated as a string, concatenate it with the null string."
1695 msgstr ""
1696
1697 #. type: Plain text
1698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1700 msgid ""
1701 "Uninitialized variables have the numeric value zero and the string value "
1702 "\"\" (the null, or empty, string)."
1703 msgstr ""
1704
1705 #. type: Plain text
1706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1708 msgid ""
1709 "When a string must be converted to a number, the conversion is accomplished "
1710 "using I<strtod>(3). A number is converted to a string by using the value of "
1711 "B<CONVFMT> as a format string for I<sprintf>(3), with the numeric value of "
1712 "the variable as the argument. However, even though all numbers in \\*(AK "
1713 "are floating-point, integral values are I<always> converted as integers."
1714 msgstr ""
1715
1716 #. type: Plain text
1717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1719 msgid ""
1720 "I<Gawk> performs comparisons as follows: If two variables are numeric, they "
1721 "are compared numerically. If one value is numeric and the other has a "
1722 "string value that is a ``numeric string,'' then comparisons are also done "
1723 "numerically. Otherwise, the numeric value is converted to a string and a "
1724 "string comparison is performed. Two strings are compared, of course, as "
1725 "strings."
1726 msgstr ""
1727
1728 #. type: Plain text
1729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1731 msgid ""
1732 "Note that string constants, such as B<\"57\">, are I<not> numeric strings, "
1733 "they are string constants. The idea of ``numeric string'' only applies to "
1734 "fields, B<getline> input, B<FILENAME>, B<ARGV> elements, B<ENVIRON> elements "
1735 "and the elements of an array created by B<split()> or B<patsplit()> that are "
1736 "numeric strings. The basic idea is that I<user input>, and only user input, "
1737 "that looks numeric, should be treated that way."
1738 msgstr ""
1739
1740 #. type: SS
1741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1743 #, no-wrap
1744 msgid "Octal and Hexadecimal Constants"
1745 msgstr ""
1746
1747 #. type: Plain text
1748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1750 msgid ""
1751 "You may use C-style octal and hexadecimal constants in your AWK program "
1752 "source code. For example, the octal value B<011> is equal to decimal B<9>, "
1753 "and the hexadecimal value B<0x11> is equal to decimal 17."
1754 msgstr ""
1755
1756 #. type: SS
1757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1759 #, no-wrap
1760 msgid "String Constants"
1761 msgstr ""
1762
1763 #. type: Plain text
1764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1766 msgid ""
1767 "String constants in \\*(AK are sequences of characters enclosed between "
1768 "double quotes (like B<\"value\">). Within strings, certain I<escape "
1769 "sequences> are recognized, as in C. See I<https://www.gnu.org/software/gawk/"
1770 "manual/html_node/Escape-Sequences> for the details."
1771 msgstr ""
1772
1773 #. type: SS
1774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1776 #, no-wrap
1777 msgid "Regexp Constants"
1778 msgstr ""
1779
1780 #. type: Plain text
1781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1783 msgid ""
1784 "A regular expression constant is a sequence of characters enclosed between "
1785 "forward slashes (like B</value/>)."
1786 msgstr ""
1787
1788 #. type: Plain text
1789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1791 msgid ""
1792 "The escape sequences described in the manual may also be used inside "
1793 "constant regular expressions (e.g., B</[\\ \\et\\ef\\en\\er\\ev]/> matches "
1794 "whitespace characters)."
1795 msgstr ""
1796
1797 #. type: Plain text
1798 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1799 #: opensuse-leap-16-1 opensuse-tumbleweed
1800 msgid ""
1801 "I<Gawk> provides I<strongly typed> regular expression constants. These are "
1802 "written with a leading B<@> symbol (like so: B<@/value/>). Such constants "
1803 "may be assigned to scalars (variables, array elements) and passed to user-"
1804 "defined functions. Variables that have been so assigned have regular "
1805 "expression type."
1806 msgstr ""
1807
1808 #. type: SH
1809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1811 #, no-wrap
1812 msgid "PATTERNS AND ACTIONS"
1813 msgstr ""
1814
1815 #. type: Plain text
1816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1818 msgid ""
1819 "\\*(AK is a line-oriented language. The pattern comes first, and then the "
1820 "action. Action statements are enclosed in B<{> and B<}>. Either the "
1821 "pattern may be missing, or the action may be missing, but, of course, not "
1822 "both. If the pattern is missing, the action executes for every single "
1823 "record of input. A missing action is equivalent to"
1824 msgstr ""
1825
1826 #. type: Plain text
1827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1829 msgid "B<{ print }>"
1830 msgstr ""
1831
1832 #. type: Plain text
1833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1835 msgid "which prints the entire record."
1836 msgstr ""
1837
1838 #. type: Plain text
1839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1841 msgid ""
1842 "Comments begin with the B<#> character, and continue until the end of the "
1843 "line. Empty lines may be used to separate statements. Normally, a "
1844 "statement ends with a newline, however, this is not the case for lines "
1845 "ending in a comma, B<{>, B<?>, B<:>, B<&&>, or B<||>. Lines ending in B<do> "
1846 "or B<else> also have their statements automatically continued on the "
1847 "following line. In other cases, a line can be continued by ending it with a "
1848 "``\\e'', in which case the newline is ignored. However, a ``\\e'' after a "
1849 "B<#> is not special."
1850 msgstr ""
1851
1852 #. type: Plain text
1853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1855 msgid ""
1856 "Multiple statements may be put on one line by separating them with a ``;''. "
1857 "This applies to both the statements within the action part of a pattern-"
1858 "action pair (the usual case), and to the pattern-action statements "
1859 "themselves."
1860 msgstr ""
1861
1862 #. type: SS
1863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1865 #, no-wrap
1866 msgid "Patterns"
1867 msgstr ""
1868
1869 #. type: Plain text
1870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1872 msgid "\\*(AK patterns may be one of the following:"
1873 msgstr ""
1874
1875 #. type: Plain text
1876 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1877 #: opensuse-leap-16-1 opensuse-tumbleweed
1878 #, no-wrap
1879 msgid ""
1880 "B<BEGIN>\n"
1881 "B<END>\n"
1882 "B<BEGINFILE>\n"
1883 "B<ENDFILE>\n"
1884 "B</>I<regular expression>B</>\n"
1885 "I<relational expression>\n"
1886 "I<pattern>B< && >I<pattern>\n"
1887 "I<pattern>B< || >I<pattern>\n"
1888 "I<pattern>B< ?\\& >I<pattern>B< : >I<pattern>\n"
1889 "B<(>I<pattern>B<)>\n"
1890 "B<!\\&>I< pattern>\n"
1891 "I<pattern1>B<, >I<pattern2>\n"
1892 msgstr ""
1893
1894 #. type: Plain text
1895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1897 msgid ""
1898 "B<BEGIN> and B<END> are two special kinds of patterns which are not tested "
1899 "against the input. The action parts of all B<BEGIN> patterns are merged as "
1900 "if all the statements had been written in a single B<BEGIN> rule. They are "
1901 "executed before any of the input is read. Similarly, all the B<END> rules "
1902 "are merged, and executed when all the input is exhausted (or when an B<exit> "
1903 "statement is executed). B<BEGIN> and B<END> patterns cannot be combined "
1904 "with other patterns in pattern expressions. B<BEGIN> and B<END> patterns "
1905 "cannot have missing action parts."
1906 msgstr ""
1907
1908 #. type: Plain text
1909 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1910 #: opensuse-leap-16-1 opensuse-tumbleweed
1911 msgid ""
1912 "B<BEGINFILE> and B<ENDFILE> are additional special patterns whose actions "
1913 "are executed before reading the first record of each command-line input file "
1914 "and after reading the last record of each file. Inside the B<BEGINFILE> "
1915 "rule, the value of B<ERRNO> is the empty string if the file was opened "
1916 "successfully. Otherwise, there is some problem with the file and the code "
1917 "should use B<nextfile> to skip it. If that is not done, I<gawk> produces "
1918 "its usual fatal error for files that cannot be opened."
1919 msgstr ""
1920
1921 #. type: Plain text
1922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1924 msgid ""
1925 "For B</>I<regular expression>B</> patterns, the associated statement is "
1926 "executed for each input record that matches the regular expression. Regular "
1927 "expressions are essentially the same as those in I<egrep>(1). See I<https://"
1928 "www.gnu.org/software/gawk/manual/html_node/Regexp.html> for the details on "
1929 "regular expressions."
1930 msgstr ""
1931
1932 #. type: Plain text
1933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1935 msgid ""
1936 "A I<relational expression> may use any of the operators defined below in the "
1937 "section on actions. These generally test whether certain fields match "
1938 "certain regular expressions."
1939 msgstr ""
1940
1941 #. type: Plain text
1942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1944 msgid ""
1945 "The B<&&>, B<||>, and B<!> operators are logical AND, logical OR, and "
1946 "logical NOT, respectively, as in C. They do short-circuit evaluation, also "
1947 "as in C, and are used for combining more primitive pattern expressions. As "
1948 "in most languages, parentheses may be used to change the order of evaluation."
1949 msgstr ""
1950
1951 #. type: Plain text
1952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1954 msgid ""
1955 "The B<?\\^:> operator is like the same operator in C. If the first pattern "
1956 "is true then the pattern used for testing is the second pattern, otherwise "
1957 "it is the third. Only one of the second and third patterns is evaluated."
1958 msgstr ""
1959
1960 #. type: Plain text
1961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1963 msgid ""
1964 "The I<pattern1>B<, >I<pattern2> form of an expression is called a I<range "
1965 "pattern>. It matches all input records starting with a record that matches "
1966 "I<pattern1>, and continuing until a record that matches I<pattern2>, "
1967 "inclusive. It does not combine with any other sort of pattern expression."
1968 msgstr ""
1969
1970 #. type: SS
1971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1973 #, no-wrap
1974 msgid "Actions"
1975 msgstr ""
1976
1977 #. type: Plain text
1978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1980 msgid ""
1981 "Action statements are enclosed in braces, B<{> and B<}>. Action statements "
1982 "consist of the usual assignment, conditional, and looping statements found "
1983 "in most languages. The operators, control statements, and input/output "
1984 "statements available are patterned after those in C."
1985 msgstr ""
1986
1987 #. type: SS
1988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1990 #, no-wrap
1991 msgid "Operators"
1992 msgstr ""
1993
1994 #. type: Plain text
1995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1997 msgid "The operators in \\*(AK, in order of decreasing precedence, are:"
1998 msgstr ""
1999
2000 #. type: TP
2001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2003 #, no-wrap
2004 msgid "B<(>\\&.\\|.\\|.B<)>"
2005 msgstr ""
2006
2007 #. type: Plain text
2008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2010 msgid "Grouping"
2011 msgstr ""
2012
2013 #. type: TP
2014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2016 #, no-wrap
2017 msgid "B<$>"
2018 msgstr ""
2019
2020 #. type: Plain text
2021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2023 msgid "Field reference."
2024 msgstr ""
2025
2026 #. type: TP
2027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2029 #, no-wrap
2030 msgid "B<++ -\\^->"
2031 msgstr ""
2032
2033 #. type: Plain text
2034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2036 msgid "Increment and decrement, both prefix and postfix."
2037 msgstr ""
2038
2039 #. type: TP
2040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2042 #, no-wrap
2043 msgid "B<^>"
2044 msgstr ""
2045
2046 #. type: Plain text
2047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2049 msgid "Exponentiation."
2050 msgstr ""
2051
2052 #. type: TP
2053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2055 #, no-wrap
2056 msgid "B<+ - !>"
2057 msgstr ""
2058
2059 #. type: Plain text
2060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2062 msgid "Unary plus, unary minus, and logical negation."
2063 msgstr ""
2064
2065 #. type: TP
2066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2068 #, no-wrap
2069 msgid "B<* / %>"
2070 msgstr ""
2071
2072 #. type: Plain text
2073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2075 msgid "Multiplication, division, and modulus."
2076 msgstr ""
2077
2078 #. type: TP
2079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2081 #, no-wrap
2082 msgid "B<+ ->"
2083 msgstr ""
2084
2085 #. type: Plain text
2086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2088 msgid "Addition and subtraction."
2089 msgstr ""
2090
2091 #. type: TP
2092 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2093 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2094 #, no-wrap
2095 msgid "I<space>"
2096 msgstr ""
2097
2098 #. type: Plain text
2099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2101 msgid "String concatenation."
2102 msgstr ""
2103
2104 #. type: TP
2105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2107 #, no-wrap
2108 msgid "B<| |&>"
2109 msgstr ""
2110
2111 #. type: Plain text
2112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2114 msgid "Piped I/O for B<getline>, B<print>, and B<printf>."
2115 msgstr ""
2116
2117 #. type: TP
2118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2120 #, no-wrap
2121 msgid "B<E<lt> E<gt> E<lt>= E<gt>= == !=>"
2122 msgstr ""
2123
2124 #. type: Plain text
2125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2127 msgid "The regular relational operators."
2128 msgstr ""
2129
2130 #. type: TP
2131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2133 #, no-wrap
2134 msgid "B<~ !~>"
2135 msgstr ""
2136
2137 #. type: Plain text
2138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2140 msgid "Regular expression match, negated match."
2141 msgstr ""
2142
2143 #. type: TP
2144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2146 #, no-wrap
2147 msgid "B<in>"
2148 msgstr ""
2149
2150 #. type: Plain text
2151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2153 msgid "Array membership."
2154 msgstr ""
2155
2156 #. type: TP
2157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2159 #, no-wrap
2160 msgid "B<&&>"
2161 msgstr ""
2162
2163 #. type: Plain text
2164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2166 msgid "Logical AND."
2167 msgstr ""
2168
2169 #. type: TP
2170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2172 #, no-wrap
2173 msgid "B<||>"
2174 msgstr ""
2175
2176 #. type: Plain text
2177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2179 msgid "Logical OR."
2180 msgstr ""
2181
2182 #. type: TP
2183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2185 #, no-wrap
2186 msgid "B<?:>"
2187 msgstr ""
2188
2189 #. type: Plain text
2190 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2191 #: opensuse-leap-16-1 opensuse-tumbleweed
2192 msgid ""
2193 "The C conditional expression. This has the form I<expr1>B< ? >I<expr2>B< : "
2194 ">I<expr3\\/>. If I<expr1> is true, the value of the expression is I<expr2>, "
2195 "otherwise it is I<expr3>. Only one of I<expr2> and I<expr3> is evaluated."
2196 msgstr ""
2197
2198 #. type: TP
2199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2201 #, no-wrap
2202 msgid "B<= += -= *= /= %= ^=>"
2203 msgstr ""
2204
2205 #. type: Plain text
2206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2208 msgid ""
2209 "Assignment. Both absolute assignment B<(>I<var>B< = >I<value>B<)> and "
2210 "operator-assignment (the other forms) are supported."
2211 msgstr ""
2212
2213 #. type: SS
2214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2216 #, no-wrap
2217 msgid "Control Statements"
2218 msgstr ""
2219
2220 #. type: Plain text
2221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2223 msgid "The control statements are as follows:"
2224 msgstr ""
2225
2226 #. type: Plain text
2227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2229 #, no-wrap
2230 msgid ""
2231 "B<if (>I<condition>B<) >I<statement> [ B<else>I< statement >]\n"
2232 "B<while (>I<condition>B<) >I<statement>\n"
2233 "B<do >I<statement >B<while (>I<condition>B<)>\n"
2234 "B<for (>I<expr1>B<; >I<expr2>B<; >I<expr3>B<) >I<statement>\n"
2235 "B<for (>I<var >B<in>I< array>B<) >I<statement>\n"
2236 "B<break>\n"
2237 "B<continue>\n"
2238 "B<delete >I<array\\^>B<[\\^>I<index\\^>B<]>\n"
2239 "B<delete >I<array\\^>\n"
2240 "B<exit> [ I<expression> ]\n"
2241 "B<{ >I<statements >B<}>\n"
2242 "B<switch (>I<expression>B<) {\n"
2243 "case >I<value>B<|>I<regex>B< : >I<statement\n"
2244 "\\&.\\^.\\^.\n"
2245 ">[ B<default: >I<statement >]\n"
2246 "B<}>\n"
2247 msgstr ""
2248
2249 #. type: SS
2250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2252 #, no-wrap
2253 msgid "I/O Statements"
2254 msgstr ""
2255
2256 #. type: Plain text
2257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2259 msgid "The input/output statements are as follows:"
2260 msgstr ""
2261
2262 #. type: TP
2263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2265 #, no-wrap
2266 msgid "B<close(>I<file >[B<, >I<how>]B<)>"
2267 msgstr ""
2268
2269 #. type: Plain text
2270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2272 msgid ""
2273 "Close an open file, pipe or coprocess. The optional I<how> should only be "
2274 "used when closing one end of a two-way pipe to a coprocess. It must be a "
2275 "string value, either B<\"to\"> or B<\"from\">."
2276 msgstr ""
2277
2278 #. type: TP
2279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2281 #, no-wrap
2282 msgid "B<getline>"
2283 msgstr ""
2284
2285 #. type: Plain text
2286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2288 msgid "Set B<$0> from the next input record; set B<NF>, B<NR>, B<FNR>, B<RT>."
2289 msgstr ""
2290
2291 #. type: TP
2292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2294 #, no-wrap
2295 msgid "B<getline E<lt>>I<file>"
2296 msgstr ""
2297
2298 #. type: Plain text
2299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2301 msgid "Set B<$0> from the next record of I<file>; set B<NF>, B<RT>."
2302 msgstr ""
2303
2304 #. type: TP
2305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2307 #, no-wrap
2308 msgid "B<getline>I< var>"
2309 msgstr ""
2310
2311 #. type: Plain text
2312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2314 msgid "Set I<var> from the next input record; set B<NR>, B<FNR>, B<RT>."
2315 msgstr ""
2316
2317 #. type: TP
2318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2320 #, no-wrap
2321 msgid "B<getline>I< var>B< E<lt>>I<file>"
2322 msgstr ""
2323
2324 #. type: Plain text
2325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2327 msgid "Set I<var> from the next record of I<file>; set B<RT>."
2328 msgstr ""
2329
2330 #. type: TP
2331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2333 #, no-wrap
2334 msgid "I<command>B< | getline >[I<var>]"
2335 msgstr ""
2336
2337 #. type: Plain text
2338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2340 msgid ""
2341 "Run I<command>, piping the output either into B<$0> or I<var>, as above, and "
2342 "B<RT>."
2343 msgstr ""
2344
2345 #. type: TP
2346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2348 #, no-wrap
2349 msgid "I<command>B< |& getline >[I<var>]"
2350 msgstr ""
2351
2352 #. type: Plain text
2353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2355 msgid ""
2356 "Run I<command> as a coprocess piping the output either into B<$0> or I<var>, "
2357 "as above, and B<RT>. (The I<command> can also be a socket. See the "
2358 "subsection B<Special File Names>, below.)"
2359 msgstr ""
2360
2361 #. type: TP
2362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2364 #, no-wrap
2365 msgid "\\&B<fflush(>[I<file\\^>]B<)>"
2366 msgstr ""
2367
2368 #. type: Plain text
2369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2371 msgid ""
2372 "Flush any buffers associated with the open output file or pipe I<file>. If "
2373 "I<file> is missing or if it is the null string, then flush all open output "
2374 "files and pipes."
2375 msgstr ""
2376
2377 #. type: TP
2378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2380 #, no-wrap
2381 msgid "B<next>"
2382 msgstr ""
2383
2384 #. type: Plain text
2385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2387 msgid ""
2388 "Stop processing the current input record. Read the next input record and "
2389 "start processing over with the first pattern in the \\*(AK program. Upon "
2390 "reaching the end of the input data, execute any B<END> rule(s)."
2391 msgstr ""
2392
2393 #. type: TP
2394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2396 #, no-wrap
2397 msgid "B<nextfile>"
2398 msgstr ""
2399
2400 #. type: Plain text
2401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2403 msgid ""
2404 "Stop processing the current input file. The next input record read comes "
2405 "from the next input file. Update B<FILENAME> and B<ARGIND>, reset B<FNR> to "
2406 "1, and start processing over with the first pattern in the \\*(AK program. "
2407 "Upon reaching the end of the input data, execute any B<ENDFILE> and B<END> "
2408 "rule(s)."
2409 msgstr ""
2410
2411 #. type: TP
2412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2414 #, no-wrap
2415 msgid "B<print>"
2416 msgstr ""
2417
2418 #. type: Plain text
2419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2421 msgid ""
2422 "Print the current record. The output record is terminated with the value of "
2423 "B<ORS>."
2424 msgstr ""
2425
2426 #. type: TP
2427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2429 #, no-wrap
2430 msgid "B<print>I< expr-list>"
2431 msgstr ""
2432
2433 #. type: Plain text
2434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2436 msgid ""
2437 "Print expressions. Each expression is separated by the value of B<OFS>. "
2438 "The output record is terminated with the value of B<ORS>."
2439 msgstr ""
2440
2441 #. type: TP
2442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2444 #, no-wrap
2445 msgid "B<print>I< expr-list>B< E<gt>>I<file>"
2446 msgstr ""
2447
2448 #. type: Plain text
2449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2451 msgid ""
2452 "Print expressions on I<file>. Each expression is separated by the value of "
2453 "B<OFS>. The output record is terminated with the value of B<ORS>."
2454 msgstr ""
2455
2456 #. type: TP
2457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2459 #, no-wrap
2460 msgid "B<printf>I< fmt, expr-list>"
2461 msgstr ""
2462
2463 #. type: Plain text
2464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2466 msgid "Format and print."
2467 msgstr ""
2468
2469 #. type: TP
2470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2472 #, no-wrap
2473 msgid "B<printf>I< fmt, expr-list>B< E<gt>>I<file>"
2474 msgstr ""
2475
2476 #. type: Plain text
2477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2479 msgid "Format and print on I<file>."
2480 msgstr ""
2481
2482 #. type: TP
2483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2485 #, no-wrap
2486 msgid "B<system(>I<cmd-line>B<)>"
2487 msgstr ""
2488
2489 #. type: Plain text
2490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2492 msgid ""
2493 "Execute the command I<cmd-line>, and return the exit status. (This may not "
2494 "be available on non-\\*(PX systems.) See I<https://www.gnu.org/software/"
2495 "gawk/manual/html_node/I_002fO-Functions.html#I_002fO-Functions> for the full "
2496 "details on the exit status."
2497 msgstr ""
2498
2499 #. type: Plain text
2500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2502 msgid "Additional output redirections are allowed for B<print> and B<printf>."
2503 msgstr ""
2504
2505 #. type: TP
2506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2508 #, no-wrap
2509 msgid "B<print .\\|.\\|.\\& E<gt>E<gt>>I< file>"
2510 msgstr ""
2511
2512 #. type: Plain text
2513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2515 msgid "Append output to the I<file>."
2516 msgstr ""
2517
2518 #. type: TP
2519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2521 #, no-wrap
2522 msgid "B<print .\\|.\\|.\\& |>I< command>"
2523 msgstr ""
2524
2525 #. type: Plain text
2526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2528 msgid "Write on a pipe."
2529 msgstr ""
2530
2531 #. type: TP
2532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2534 #, no-wrap
2535 msgid "B<print .\\|.\\|.\\& |&>I< command>"
2536 msgstr ""
2537
2538 #. type: Plain text
2539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2541 msgid ""
2542 "Send data to a coprocess or socket. (See also the subsection B<Special File "
2543 "Names>, below.)"
2544 msgstr ""
2545
2546 #. type: Plain text
2547 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2548 #: opensuse-leap-16-1 opensuse-tumbleweed
2549 msgid ""
2550 "The B<getline> function returns 1 on success, zero on end of file, and -1 on "
2551 "an error. If the I<errno>(3) value indicates that the I/O operation may be "
2552 "retried, and B<PROCINFO[\">I<input\\^>B<\", \"RETRY\"]> is set, then -2 is "
2553 "returned instead of -1, and further calls to B<getline> may be attempted. "
2554 "Upon an error, B<ERRNO> is set to a string describing the problem."
2555 msgstr ""
2556
2557 #. type: Plain text
2558 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2559 #: opensuse-leap-16-1 opensuse-tumbleweed
2560 msgid ""
2561 "B<NOTE>: Failure in opening a two-way socket results in a non-fatal error "
2562 "being returned to the calling function. If using a pipe, coprocess, or "
2563 "socket to B<getline>, or from B<print> or B<printf> within a loop, you "
2564 "I<must> use B<close()> to create new instances of the command or socket. "
2565 "\\*(AK does not automatically close pipes, sockets, or coprocesses when they "
2566 "return EOF."
2567 msgstr ""
2568
2569 #. type: Plain text
2570 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2571 #: opensuse-leap-16-1 opensuse-tumbleweed
2572 msgid ""
2573 "The \\*(AK versions of the B<printf> statement and B<sprintf()> function are "
2574 "similar to those of C. For details, see I<https://www.gnu.org/software/gawk/"
2575 "manual/html_node/Printf.html>."
2576 msgstr ""
2577
2578 #. type: SS
2579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2581 #, no-wrap
2582 msgid "Special File Names"
2583 msgstr ""
2584
2585 #. type: Plain text
2586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2588 msgid ""
2589 "When doing I/O redirection from either B<print> or B<printf> into a file, or "
2590 "via B<getline> from a file, I<gawk> recognizes certain special filenames "
2591 "internally. These filenames allow access to open file descriptors inherited "
2592 "from I<gawk\\^>'s parent process (usually the shell). These file names may "
2593 "also be used on the command line to name data files. The filenames are:"
2594 msgstr ""
2595
2596 #. type: TP
2597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2599 #, no-wrap
2600 msgid "B<->"
2601 msgstr ""
2602
2603 #. type: Plain text
2604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2606 msgid "The standard input."
2607 msgstr ""
2608
2609 #. type: TP
2610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2612 #, no-wrap
2613 msgid "B</dev/stdin>"
2614 msgstr ""
2615
2616 #. type: TP
2617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2619 #, no-wrap
2620 msgid "B</dev/stdout>"
2621 msgstr ""
2622
2623 #. type: Plain text
2624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2626 msgid "The standard output."
2627 msgstr ""
2628
2629 #. type: TP
2630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2632 #, no-wrap
2633 msgid "B</dev/stderr>"
2634 msgstr ""
2635
2636 #. type: Plain text
2637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2639 msgid "The standard error output."
2640 msgstr ""
2641
2642 #. type: TP
2643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2645 #, no-wrap
2646 msgid "B</dev/fd/\\^>I<n>"
2647 msgstr ""
2648
2649 #. type: Plain text
2650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2652 msgid "The file associated with the open file descriptor I<n>."
2653 msgstr ""
2654
2655 #. type: Plain text
2656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2658 msgid ""
2659 "The following special filenames may be used with the B<|&> coprocess "
2660 "operator for creating TCP/IP network connections:"
2661 msgstr ""
2662
2663 #. type: TP
2664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2666 #, no-wrap
2667 msgid "B</inet/tcp/>I<lport>B</>I<rhost>B</>I<rport>"
2668 msgstr ""
2669
2670 #. type: TP
2671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2673 #, no-wrap
2674 msgid "B</inet4/tcp/>I<lport>B</>I<rhost>B</>I<rport>"
2675 msgstr ""
2676
2677 #. type: TP
2678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2680 #, no-wrap
2681 msgid "B</inet6/tcp/>I<lport>B</>I<rhost>B</>I<rport>"
2682 msgstr ""
2683
2684 #. type: Plain text
2685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2687 msgid ""
2688 "Files for a TCP/IP connection on local port I<lport> to remote host I<rhost> "
2689 "on remote port I<rport>. Use a port of B<0> to have the system pick a "
2690 "port. Use B</inet4> to force an IPv4 connection, and B</inet6> to force an "
2691 "IPv6 connection. Plain B</inet> uses the system default (most likely "
2692 "IPv4). Usable only with the B<|&> two-way I/O operator."
2693 msgstr ""
2694
2695 #. type: TP
2696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2698 #, no-wrap
2699 msgid "B</inet/udp/>I<lport>B</>I<rhost>B</>I<rport>"
2700 msgstr ""
2701
2702 #. type: TP
2703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2705 #, no-wrap
2706 msgid "B</inet4/udp/>I<lport>B</>I<rhost>B</>I<rport>"
2707 msgstr ""
2708
2709 #. type: TP
2710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2712 #, no-wrap
2713 msgid "B</inet6/udp/>I<lport>B</>I<rhost>B</>I<rport>"
2714 msgstr ""
2715
2716 #. type: Plain text
2717 #: archlinux fedora-rawhide opensuse-tumbleweed
2718 msgid ""
2719 "Similar, but use UDP/IP instead of TCP/IP. B<UDP support is obsolete and "
2720 "will be removed in the future.>"
2721 msgstr ""
2722
2723 #. type: SS
2724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2726 #, no-wrap
2727 msgid "Numeric Functions"
2728 msgstr ""
2729
2730 #. type: Plain text
2731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2733 msgid "\\*(AK has the following built-in arithmetic functions:"
2734 msgstr ""
2735
2736 #. type: TP
2737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2739 #, no-wrap
2740 msgid "B<atan2(>I<y>B<,>I< x>B<)>"
2741 msgstr ""
2742
2743 #. type: Plain text
2744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2746 msgid "Return the arctangent of I<y/x> in radians."
2747 msgstr ""
2748
2749 #. type: TP
2750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2752 #, no-wrap
2753 msgid "B<cos(>I<expr>B<)>"
2754 msgstr ""
2755
2756 #. type: Plain text
2757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2759 msgid "Return the cosine of I<expr>, which is in radians."
2760 msgstr ""
2761
2762 #. type: TP
2763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2765 #, no-wrap
2766 msgid "B<exp(>I<expr>B<)>"
2767 msgstr ""
2768
2769 #. type: Plain text
2770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2772 msgid "The exponential function."
2773 msgstr ""
2774
2775 #. type: TP
2776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2778 #, no-wrap
2779 msgid "B<int(>I<expr>B<)>"
2780 msgstr ""
2781
2782 #. type: Plain text
2783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2785 msgid "Truncate to integer."
2786 msgstr ""
2787
2788 #. type: TP
2789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2791 #, no-wrap
2792 msgid "B<log(>I<expr>B<)>"
2793 msgstr ""
2794
2795 #. type: Plain text
2796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2798 msgid "The natural logarithm function."
2799 msgstr ""
2800
2801 #. type: TP
2802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2804 #, no-wrap
2805 msgid "B<rand()>"
2806 msgstr ""
2807
2808 #. type: Plain text
2809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2811 msgid ""
2812 "Return a random number I<N>, between zero and one, such that 0 \\(E<lt>= "
2813 "I<N> E<lt> 1."
2814 msgstr ""
2815
2816 #. type: TP
2817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2819 #, no-wrap
2820 msgid "B<sin(>I<expr>B<)>"
2821 msgstr ""
2822
2823 #. type: Plain text
2824 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2825 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2826 msgid "Return the sine of I<expr>, which is in radians."
2827 msgstr ""
2828
2829 #. type: TP
2830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2832 #, no-wrap
2833 msgid "B<sqrt(>I<expr>B<)>"
2834 msgstr ""
2835
2836 #. type: Plain text
2837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2839 msgid "Return the square root of I<expr>."
2840 msgstr ""
2841
2842 #. type: TP
2843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2845 #, no-wrap
2846 msgid "\\&B<srand(>[I<expr\\^>]B<)>"
2847 msgstr ""
2848
2849 #. type: Plain text
2850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2852 msgid ""
2853 "Use I<expr> as the new seed for the random number generator. If no I<expr> "
2854 "is provided, use the time of day. Return the previous seed for the random "
2855 "number generator."
2856 msgstr ""
2857
2858 #. type: SS
2859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2861 #, no-wrap
2862 msgid "String Functions"
2863 msgstr ""
2864
2865 #. type: Plain text
2866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2868 msgid ""
2869 "I<Gawk> has the following built-in string functions; details are provided in "
2870 "I<https://www.gnu.org/software/gawk/manual/html_node/String-Functions>."
2871 msgstr ""
2872
2873 #. type: TP
2874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2876 #, no-wrap
2877 msgid "B<asort(>I<s >[B<, >I<d> [B<, >I<how>] ]B<)>"
2878 msgstr ""
2879
2880 #. type: Plain text
2881 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2882 #: opensuse-leap-16-1 opensuse-tumbleweed
2883 msgid ""
2884 "Return the number of elements in the source array I<s>. Sort the contents "
2885 "of I<s> using I<gawk\\^>'s normal rules for comparing values, and replace "
2886 "the indices of the sorted values I<s> with sequential integers starting with "
2887 "1. If the optional destination array I<d> is specified, first duplicate "
2888 "I<s> into I<d>, and then sort I<d>, leaving the indices of the source array "
2889 "I<s> unchanged. The optional string I<how> controls the direction and the "
2890 "comparison mode. Valid values for I<how> are described in I<https://"
2891 "www.gnu.org/software/gawk/manual/html_node/String-Functions.html#String-"
2892 "Functions>. I<s> and I<d> are allowed to be the same array; this only makes "
2893 "sense when supplying the third argument as well."
2894 msgstr ""
2895
2896 #. type: TP
2897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2899 #, no-wrap
2900 msgid "B<asorti(>I<s >[B<, >I<d> [B<, >I<how>] ]B<)>"
2901 msgstr ""
2902
2903 #. type: Plain text
2904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2906 msgid ""
2907 "Return the number of elements in the source array I<s>. The behavior is the "
2908 "same as that of B<asort()>, except that the array I<indices> are used for "
2909 "sorting, not the array values. When done, the array is indexed numerically, "
2910 "and the values are those of the original indices. The original values are "
2911 "lost; thus provide a second array if you wish to preserve the original. The "
2912 "purpose of the optional string I<how> is the same as for B<asort()>. Here "
2913 "too, I<s> and I<d> are allowed to be the same array; this only makes sense "
2914 "when supplying the third argument as well."
2915 msgstr ""
2916
2917 #. type: TP
2918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2920 #, no-wrap
2921 msgid "B<gensub(>I<r>B<, >I<s>B<, >I<h >[B<, >I<t>]B<)>"
2922 msgstr ""
2923
2924 #. type: Plain text
2925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2927 msgid ""
2928 "Search the target string I<t> for matches of the regular expression I<r>. "
2929 "If I<h> is a string beginning with B<g> or B<G>, then replace all matches of "
2930 "I<r> with I<s>. Otherwise, I<h> is a number indicating which match of I<r> "
2931 "to replace. If I<t> is not supplied, use B<$0> instead. Within the "
2932 "replacement text I<s>, the sequence B<\\e>I<n>, where I<n> is a digit from 1 "
2933 "to 9, may be used to indicate just the text that matched the I<n>'th "
2934 "parenthesized subexpression. The sequence B<\\e0> represents the entire "
2935 "matched text, as does the character B<&>. Unlike B<sub()> and B<gsub()>, "
2936 "the modified string is returned as the result of the function, and the "
2937 "original target string is I<not> changed."
2938 msgstr ""
2939
2940 #. type: TP
2941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2943 #, no-wrap
2944 msgid "B<gsub(>I<r>B<, >I<s >[B<, >I<t>]B<)>"
2945 msgstr ""
2946
2947 #. type: Plain text
2948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2950 msgid ""
2951 "For each substring matching the regular expression I<r> in the string I<t>, "
2952 "substitute the string I<s>, and return the number of substitutions. If I<t> "
2953 "is not supplied, use B<$0>. An B<&> in the replacement text is replaced "
2954 "with the text that was actually matched. Use B<\\e&> to get a literal "
2955 "B<&>. (This must be typed as B<\"\\e\\e&\">; see I<https://www.gnu.org/"
2956 "software/gawk/manual/html_node/Gory-Details.html#Gory-Details> for a fuller "
2957 "discussion of the rules for ampersands and backslashes in the replacement "
2958 "text of B<sub()>, B<gsub()>, and B<gensub()>.)"
2959 msgstr ""
2960
2961 #. type: TP
2962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2964 #, no-wrap
2965 msgid "B<index(>I<s>B<,>I< t>B<)>"
2966 msgstr ""
2967
2968 #. type: Plain text
2969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2971 msgid ""
2972 "Return the index of the string I<t> in the string I<s>, or zero if I<t> is "
2973 "not present. (This implies that character indices start at one.)"
2974 msgstr ""
2975
2976 #. type: TP
2977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2979 #, no-wrap
2980 msgid "B<length(>[I<s>]B<)>"
2981 msgstr ""
2982
2983 #. type: Plain text
2984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2986 msgid ""
2987 "Return the length of the string I<s>, or the length of B<$0> if I<s> is not "
2988 "supplied. With an array argument, B<length()> returns the number of "
2989 "elements in the array."
2990 msgstr ""
2991
2992 #. type: TP
2993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2995 #, no-wrap
2996 msgid "B<match(>I<s>B<, >I<r >[B<, >I<a>]B<)>"
2997 msgstr ""
2998
2999 #. type: Plain text
3000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3002 msgid ""
3003 "Return the position in I<s> where the regular expression I<r> occurs, or "
3004 "zero if I<r> is not present, and set the values of B<RSTART> and "
3005 "B<RLENGTH>. Note that the argument order is the same as for the B<~> "
3006 "operator: I<str>B< ~> I<re>."
3007 msgstr ""
3008
3009 #. type: Plain text
3010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3012 msgid ""
3013 "See I<https://www.gnu.org/software/gawk/manual/html_node/String-"
3014 "Functions.html#String-Functions> for a description of how the array I<a> is "
3015 "filled if it is provided."
3016 msgstr ""
3017
3018 #. type: TP
3019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3021 #, no-wrap
3022 msgid "B<patsplit(>I<s>B<, >I<a >[B<, >I<r> [B<, >I<seps>] ]B<)>"
3023 msgstr ""
3024
3025 #. type: Plain text
3026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3028 msgid ""
3029 "Split the string I<s> into the array I<a> and the separators array I<seps> "
3030 "on the regular expression I<r>, and return the number of fields. Element "
3031 "values are the portions of I<s> that matched I<r>. The value of "
3032 "B<seps[>I<i>B<]> is the possibly null separator that appeared after "
3033 "B<a[>I<i>B<]>. The value of B<seps[0]> is the possibly null leading "
3034 "separator. If I<r> is omitted, B<FPAT> is used instead. The arrays I<a> "
3035 "and I<seps> are cleared first. Splitting behaves identically to field "
3036 "splitting with B<FPAT>."
3037 msgstr ""
3038
3039 #. type: TP
3040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3042 #, no-wrap
3043 msgid "B<split(>I<s>B<, >I<a >[B<, >I<r> [B<, >I<seps>] ]B<)>"
3044 msgstr ""
3045
3046 #. type: Plain text
3047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3049 msgid ""
3050 "Split the string I<s> into the array I<a> and the separators array I<seps> "
3051 "on the regular expression I<r>, and return the number of fields. If I<r> is "
3052 "omitted, B<FS> is used instead. The arrays I<a> and I<seps> are cleared "
3053 "first. B<seps[>I<i>B<]> is the field separator matched by I<r> between "
3054 "B<a[>I<i>B<]> and B<a[>I<i>B<+1]>. Splitting behaves identically to field "
3055 "splitting."
3056 msgstr ""
3057
3058 #. type: TP
3059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3061 #, no-wrap
3062 msgid "B<sprintf(>I<fmt\\^>B<,>I< expr-list\\^>B<)>"
3063 msgstr ""
3064
3065 #. type: Plain text
3066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3068 msgid ""
3069 "Print I<expr-list> according to I<fmt>, and return the resulting string."
3070 msgstr ""
3071
3072 #. type: TP
3073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3075 #, no-wrap
3076 msgid "B<strtonum(>I<str>B<)>"
3077 msgstr ""
3078
3079 #. type: Plain text
3080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3082 msgid ""
3083 "Examine I<str>, and return its numeric value. If I<str> begins with a "
3084 "leading B<0>, treat it as an octal number. If I<str> begins with a leading "
3085 "B<0x> or B<0X>, treat it as a hexadecimal number. Otherwise, assume it is a "
3086 "decimal number."
3087 msgstr ""
3088
3089 #. type: TP
3090 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3091 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3092 #, no-wrap
3093 msgid "B<sub(>I<r>B<, >I<s >[B<, >I<t>]B<)>"
3094 msgstr ""
3095
3096 #. type: Plain text
3097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3099 msgid ""
3100 "Just like B<gsub()>, but replace only the first matching substring. Return "
3101 "either zero or one."
3102 msgstr ""
3103
3104 #. type: TP
3105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3107 #, no-wrap
3108 msgid "B<substr(>I<s>B<, >I<i >[B<, >I<n>]B<)>"
3109 msgstr ""
3110
3111 #. type: Plain text
3112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3114 msgid ""
3115 "Return the at most I<n>-character substring of I<s> starting at I<i>. If "
3116 "I<n> is omitted, use the rest of I<s>."
3117 msgstr ""
3118
3119 #. type: TP
3120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3122 #, no-wrap
3123 msgid "B<tolower(>I<str>B<)>"
3124 msgstr ""
3125
3126 #. type: Plain text
3127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3129 msgid ""
3130 "Return a copy of the string I<str>, with all the uppercase characters in "
3131 "I<str> translated to their corresponding lowercase counterparts. Non-"
3132 "alphabetic characters are left unchanged."
3133 msgstr ""
3134
3135 #. type: TP
3136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3138 #, no-wrap
3139 msgid "B<toupper(>I<str>B<)>"
3140 msgstr ""
3141
3142 #. type: Plain text
3143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3145 msgid ""
3146 "Return a copy of the string I<str>, with all the lowercase characters in "
3147 "I<str> translated to their corresponding uppercase counterparts. Non-"
3148 "alphabetic characters are left unchanged."
3149 msgstr ""
3150
3151 #. type: Plain text
3152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3154 msgid ""
3155 "I<Gawk> is multibyte aware. This means that B<index()>, B<length()>, "
3156 "B<substr()> and B<match()> all work in terms of characters, not bytes."
3157 msgstr ""
3158
3159 #. type: SS
3160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3162 #, no-wrap
3163 msgid "Time Functions"
3164 msgstr ""
3165
3166 #. type: Plain text
3167 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3168 #: opensuse-leap-16-1 opensuse-tumbleweed
3169 msgid ""
3170 "I<Gawk> provides the following functions for obtaining time stamps and "
3171 "formatting them. Details are provided in I<https://www.gnu.org/software/"
3172 "gawk/manual/html_node/Time-Functions>."
3173 msgstr ""
3174
3175 #. type: TP
3176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3178 #, no-wrap
3179 msgid "B<mktime(>I<datespec> [B<, >I<utc-flag>]B<)>"
3180 msgstr ""
3181
3182 #. type: Plain text
3183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3185 msgid ""
3186 "Turn I<datespec> into a time stamp of the same form as returned by "
3187 "B<systime()>, and return the result. If I<utc-flag> is present and is non-"
3188 "zero or non-null, the time is assumed to be in the UTC time zone; otherwise, "
3189 "the time is assumed to be in the local time zone. If I<datespec> does not "
3190 "contain enough elements or if the resulting time is out of range, "
3191 "B<mktime()> returns -1. See I<https://www.gnu.org/software/gawk/manual/"
3192 "html_node/Time-Functions.html#Time-Functions> for the details of I<datespec>."
3193 msgstr ""
3194
3195 #. type: TP
3196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3198 #, no-wrap
3199 msgid "B<strftime(>[I<format >[B<, >I<timestamp>[B<, >I<utc-flag>]]]B<)>"
3200 msgstr ""
3201
3202 #. type: Plain text
3203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3205 msgid ""
3206 "Format I<timestamp> according to the specification in I<format>. If I<utc-"
3207 "flag> is present and is non-zero or non-null, the result is in UTC, "
3208 "otherwise the result is in local time. The I<timestamp> should be of the "
3209 "same form as returned by B<systime()>. If I<timestamp> is missing, the "
3210 "current time of day is used. If I<format> is missing, a default format "
3211 "equivalent to the output of I<date>(1) is used. The default format is "
3212 "available in B<PROCINFO[\"strftime\"]>. See the specification for the "
3213 "B<strftime()> function in ISO C for the format conversions that are "
3214 "guaranteed to be available."
3215 msgstr ""
3216
3217 #. type: TP
3218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3220 #, no-wrap
3221 msgid "B<systime()>"
3222 msgstr ""
3223
3224 #. type: Plain text
3225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3227 msgid ""
3228 "Return the current time of day as the number of seconds since the Epoch "
3229 "(1970-01-01 00:00:00 UTC on \\*(PX systems)."
3230 msgstr ""
3231
3232 #. type: SS
3233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3235 #, no-wrap
3236 msgid "Bit Manipulations Functions"
3237 msgstr ""
3238
3239 #. type: Plain text
3240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3242 msgid ""
3243 "I<Gawk> supplies the following bit manipulation functions. They work by "
3244 "converting double-precision floating point values to B<uintmax_t> integers, "
3245 "doing the operation, and then converting the result back to floating point. "
3246 "Passing negative operands to any of these functions causes a fatal error."
3247 msgstr ""
3248
3249 #. type: Plain text
3250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3252 msgid "The functions are:"
3253 msgstr ""
3254
3255 #. type: TP
3256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3258 #, no-wrap
3259 msgid "B<and(>I<v1>B<, >I<v2 >[, ...]B<)>"
3260 msgstr ""
3261
3262 #. type: Plain text
3263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3265 msgid ""
3266 "Return the bitwise AND of the values provided in the argument list. There "
3267 "must be at least two."
3268 msgstr ""
3269
3270 #. type: TP
3271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3273 #, no-wrap
3274 msgid "B<compl(>I<val>B<)>"
3275 msgstr ""
3276
3277 #. type: Plain text
3278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3280 msgid "Return the bitwise complement of I<val>."
3281 msgstr ""
3282
3283 #. type: TP
3284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3286 #, no-wrap
3287 msgid "B<lshift(>I<val>B<, >I<count>B<)>"
3288 msgstr ""
3289
3290 #. type: Plain text
3291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3293 msgid "Return the value of I<val>, shifted left by I<count> bits."
3294 msgstr ""
3295
3296 #. type: TP
3297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3299 #, no-wrap
3300 msgid "B<or(>I<v1>B<, >I<v2 >[, ...]B<)>"
3301 msgstr ""
3302
3303 #. type: Plain text
3304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3306 msgid ""
3307 "Return the bitwise OR of the values provided in the argument list. There "
3308 "must be at least two."
3309 msgstr ""
3310
3311 #. type: TP
3312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3314 #, no-wrap
3315 msgid "B<rshift(>I<val>B<, >I<count>B<)>"
3316 msgstr ""
3317
3318 #. type: Plain text
3319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3321 msgid "Return the value of I<val>, shifted right by I<count> bits."
3322 msgstr ""
3323
3324 #. type: TP
3325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3327 #, no-wrap
3328 msgid "B<xor(>I<v1>B<, >I<v2 >[, ...]B<)>"
3329 msgstr ""
3330
3331 #. type: Plain text
3332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3334 msgid ""
3335 "Return the bitwise XOR of the values provided in the argument list. There "
3336 "must be at least two."
3337 msgstr ""
3338
3339 #. type: SS
3340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3342 #, no-wrap
3343 msgid "Type Functions"
3344 msgstr ""
3345
3346 #. type: Plain text
3347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3349 msgid ""
3350 "The following functions provide type related information about their "
3351 "arguments."
3352 msgstr ""
3353
3354 #. type: TP
3355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3357 #, no-wrap
3358 msgid "B<isarray(>I<x>B<)>"
3359 msgstr ""
3360
3361 #. type: Plain text
3362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3364 msgid "Return true if I<x> is an array, false otherwise."
3365 msgstr ""
3366
3367 #. type: TP
3368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3370 #, no-wrap
3371 msgid "B<typeof(>I<x>B<)>"
3372 msgstr ""
3373
3374 #. type: Plain text
3375 #: archlinux fedora-rawhide opensuse-tumbleweed
3376 msgid ""
3377 "Return a string indicating the type of I<x>. The string will be one of "
3378 "B<\"array\">, B<\"number\">, B<\"regexp\">, B<\"string\">, B<\"strnum\">, "
3379 "B<\"unassigned\">, or B<\"untyped\">."
3380 msgstr ""
3381
3382 #. type: SS
3383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3385 #, no-wrap
3386 msgid "Internationalization Functions"
3387 msgstr ""
3388
3389 #. type: Plain text
3390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3392 msgid ""
3393 "The following functions may be used from within your AWK program for "
3394 "translating strings at run-time. For full details, see I<https://"
3395 "www.gnu.org/software/gawk/manual/html_node/I18N-Functions.html#I18N-"
3396 "Functions>."
3397 msgstr ""
3398
3399 #. type: TP
3400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3402 #, no-wrap
3403 msgid "B<bindtextdomain(>I<directory >[B<, >I<domain>]B<)>"
3404 msgstr ""
3405
3406 #. type: Plain text
3407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3409 msgid ""
3410 "Specify the directory where I<gawk> looks for the B<\\&.gmo> files, in case "
3411 "they will not or cannot be placed in the ``standard'' locations. It returns "
3412 "the directory where I<domain> is ``bound.''"
3413 msgstr ""
3414
3415 #. type: Plain text
3416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3418 msgid ""
3419 "The default I<domain> is the value of B<TEXTDOMAIN>. If I<directory> is the "
3420 "null string (B<\"\">), then B<bindtextdomain()> returns the current binding "
3421 "for the given I<domain>."
3422 msgstr ""
3423
3424 #. type: TP
3425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3427 #, no-wrap
3428 msgid "B<dcgettext(>I<string >[B<, >I<domain >[B<, >I<category>]]B<)>"
3429 msgstr ""
3430
3431 #. type: Plain text
3432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3434 msgid ""
3435 "Return the translation of I<string> in text domain I<domain> for locale "
3436 "category I<category>. The default value for I<domain> is the current value "
3437 "of B<TEXTDOMAIN>. The default value for I<category> is B<\"LC_MESSAGES\">."
3438 msgstr ""
3439
3440 #. type: TP
3441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3443 #, no-wrap
3444 msgid "B<dcngettext(>I<string1>B<, >I<string2>B<, >I<number >[B<, >I<domain >[B<, >I<category>]]B<)>"
3445 msgstr ""
3446
3447 #. type: Plain text
3448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3450 msgid ""
3451 "Return the plural form used for I<number> of the translation of I<string1> "
3452 "and I<string2> in text domain I<domain> for locale category I<category>. "
3453 "The default value for I<domain> is the current value of B<TEXTDOMAIN>. The "
3454 "default value for I<category> is B<\"LC_MESSAGES\">."
3455 msgstr ""
3456
3457 #. type: SS
3458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3460 #, no-wrap
3461 msgid "Boolean Valued Functions"
3462 msgstr ""
3463
3464 #. type: Plain text
3465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3467 msgid ""
3468 "You can create special Boolean-typed values; see the manual for how they "
3469 "work and why they exist."
3470 msgstr ""
3471
3472 #. type: TP
3473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3475 #, no-wrap
3476 msgid "B<mkbool(>I<expression\\^>B<)>"
3477 msgstr ""
3478
3479 #. type: Plain text
3480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3482 msgid ""
3483 "Based on the boolean value of I<expression> return either a true value or a "
3484 "false value. True values have numeric value one. False values have numeric "
3485 "value zero."
3486 msgstr ""
3487
3488 #. type: SH
3489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3491 #, no-wrap
3492 msgid "USER-DEFINED FUNCTIONS"
3493 msgstr ""
3494
3495 #. type: Plain text
3496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3498 msgid "Functions in \\*(AK are defined as follows:"
3499 msgstr ""
3500
3501 #. type: Plain text
3502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3504 msgid "B<function >I<name>B<(>I<parameter list>B<) { >I<statements >B<}>"
3505 msgstr ""
3506
3507 #. type: Plain text
3508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3510 msgid ""
3511 "Functions execute when they are called from within expressions in either "
3512 "patterns or actions. Actual parameters supplied in the function call are "
3513 "used to instantiate the formal parameters declared in the function. Arrays "
3514 "are passed by reference, other variables are passed by value."
3515 msgstr ""
3516
3517 #. type: Plain text
3518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3520 msgid ""
3521 "Local variables are declared as extra parameters in the parameter list. The "
3522 "convention is to separate local variables from real parameters by extra "
3523 "spaces in the parameter list. For example:"
3524 msgstr ""
3525
3526 #. type: Plain text
3527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3529 #, no-wrap
3530 msgid ""
3531 "B<function f(p, q, a, b)\t# a and b are local\n"
3532 "{\n"
3533 "\t\\&.\\|.\\|.\n"
3534 "}>\n"
3535 msgstr ""
3536
3537 #. type: Plain text
3538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3540 #, no-wrap
3541 msgid "B</abc/\t{ .\\|.\\|.\\& ; f(1, 2) ; .\\|.\\|.\\& }>\n"
3542 msgstr ""
3543
3544 #. type: Plain text
3545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3547 msgid ""
3548 "The left parenthesis in a function call is required to immediately follow "
3549 "the function name, without any intervening whitespace. This restriction "
3550 "does not apply to the built-in functions listed above."
3551 msgstr ""
3552
3553 #. type: Plain text
3554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3556 msgid ""
3557 "Functions may call each other and may be recursive. Function parameters "
3558 "used as local variables are initialized to the null string and the number "
3559 "zero upon function invocation."
3560 msgstr ""
3561
3562 #. type: Plain text
3563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3565 msgid ""
3566 "Use B<return>I< expr> to return a value from a function. The return value "
3567 "is undefined if no value is provided, or if the function returns by "
3568 "``falling off'' the end."
3569 msgstr ""
3570
3571 #. type: Plain text
3572 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3573 #: opensuse-leap-16-1 opensuse-tumbleweed
3574 msgid ""
3575 "Functions may be called indirectly. To do this, assign the name of the "
3576 "function to be called, as a string, to a variable. Then use the variable as "
3577 "if it were the name of a function, prefixed with an B<@> sign, like so:"
3578 msgstr ""
3579
3580 #. type: Plain text
3581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3583 #, no-wrap
3584 msgid ""
3585 "B<function myfunc()\n"
3586 "{\n"
3587 "\tprint \"myfunc called\"\n"
3588 "\t\\&.\\|.\\|.\n"
3589 "}>\n"
3590 msgstr ""
3591
3592 #. type: Plain text
3593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3595 #, no-wrap
3596 msgid ""
3597 "B<{\t.\\|.\\|.\n"
3598 "\tthe_func = \"myfunc\"\n"
3599 "\t@the_func()\t# call through the_func to myfunc\n"
3600 "\t.\\|.\\|.\n"
3601 "}>\n"
3602 msgstr ""
3603
3604 #. type: Plain text
3605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3607 msgid ""
3608 "If B<-\\^-lint> has been provided, I<gawk> warns about calls to undefined "
3609 "functions at parse time, instead of at run time. Calling an undefined "
3610 "function at run time is a fatal error."
3611 msgstr ""
3612
3613 #. type: SH
3614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3616 #, no-wrap
3617 msgid "DYNAMICALLY LOADING NEW FUNCTIONS"
3618 msgstr ""
3619
3620 #. type: Plain text
3621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3623 msgid ""
3624 "You can dynamically add new functions written in C or C++ to the running "
3625 "I<gawk> interpreter with the B<@load> statement. The full details are "
3626 "beyond the scope of this manual page; see I<https://www.gnu.org/software/"
3627 "gawk/manual/html_node/Dynamic-Extensions.html#Dynamic-Extensions>."
3628 msgstr ""
3629
3630 #. type: SH
3631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3633 #, no-wrap
3634 msgid "SIGNALS"
3635 msgstr ""
3636
3637 #. type: Plain text
3638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3640 msgid ""
3641 "The I<gawk> profiler accepts two signals. B<SIGUSR1> causes it to dump a "
3642 "profile and function call stack to the profile file, which is either "
3643 "B<awkprof.out>, or whatever file was named with the B<-\\^-profile> option. "
3644 "It then continues to run. B<SIGHUP> causes I<gawk> to dump the profile and "
3645 "function call stack and then exit."
3646 msgstr ""
3647
3648 #. type: SH
3649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3651 #, no-wrap
3652 msgid "INTERNATIONALIZATION"
3653 msgstr ""
3654
3655 #. type: Plain text
3656 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3657 #: opensuse-leap-16-1 opensuse-tumbleweed
3658 msgid ""
3659 "String constants are sequences of characters enclosed in double quotes. In "
3660 "non-English speaking environments, it is possible to mark strings in the "
3661 "\\*(AK program as requiring translation to the local natural language. Such "
3662 "strings are marked in the \\*(AK program with a leading underscore (``_''). "
3663 "For example,"
3664 msgstr ""
3665
3666 #. type: Plain text
3667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3669 msgid "B<gawk 'BEGIN { print \"hello, world\" }'>"
3670 msgstr ""
3671
3672 #. type: Plain text
3673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3675 msgid "always prints B<hello, world>. But,"
3676 msgstr ""
3677
3678 #. type: Plain text
3679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3681 msgid "B<gawk 'BEGIN { print _\"hello, world\" }'>"
3682 msgstr ""
3683
3684 #. type: Plain text
3685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3687 msgid ""
3688 "might print B<bonjour, monde> in France. See I<https://www.gnu.org/software/"
3689 "gawk/manual/html_node/Internationalization.html#Internationalization> for "
3690 "the steps involved in producing and running a localizable \\*(AK program."
3691 msgstr ""
3692
3693 #. type: SH
3694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3696 #, no-wrap
3697 msgid "GNU EXTENSIONS"
3698 msgstr ""
3699
3700 #. type: Plain text
3701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3703 msgid ""
3704 "I<Gawk> has a too-large number of extensions to \\*(PX I<awk>. They are "
3705 "described in I<https://www.gnu.org/software/gawk/manual/html_node/"
3706 "POSIX_002fGNU.html>. All the extensions can be disabled by invoking I<gawk> "
3707 "with the B<-\\^-traditional> or B<-\\^-posix> options."
3708 msgstr ""
3709
3710 #. type: SH
3711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3713 #, no-wrap
3714 msgid "ENVIRONMENT VARIABLES"
3715 msgstr ""
3716
3717 #. type: Plain text
3718 #: archlinux fedora-rawhide opensuse-tumbleweed
3719 msgid ""
3720 "The B<AWKPATH> environment variable can be used to provide a list of "
3721 "directories that I<gawk> searches when looking for files named via the B<-"
3722 "f>, B<-\\^-file>, B<-i> and B<-\\^-include> options, and the B<@include> and "
3723 "B<@nsinclude> directives. If the initial search fails, the path is searched "
3724 "again after appending B<\\&.awk> to the filename."
3725 msgstr ""
3726
3727 #. type: Plain text
3728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3730 msgid ""
3731 "The B<AWKLIBPATH> environment variable can be used to provide a list of "
3732 "directories that I<gawk> searches when looking for files named via the B<-l> "
3733 "and B<-\\^-load> options."
3734 msgstr ""
3735
3736 #. type: Plain text
3737 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3738 #: opensuse-leap-16-1 opensuse-tumbleweed
3739 msgid ""
3740 "The B<GAWK_PERSIST_FILE> environment variable, if present, specifies a file "
3741 "to use as the backing store for persistent memory. See \\*(EP for the "
3742 "details."
3743 msgstr ""
3744
3745 #. type: Plain text
3746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3748 msgid ""
3749 "The B<GAWK_READ_TIMEOUT> environment variable can be used to specify a "
3750 "timeout in milliseconds for reading input from a terminal, pipe or two-way "
3751 "communication including sockets."
3752 msgstr ""
3753
3754 #. type: Plain text
3755 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3756 #: opensuse-leap-16-1 opensuse-tumbleweed
3757 msgid ""
3758 "For connection to a remote host via socket, B<GAWK_SOCK_RETRIES> controls "
3759 "the number of retries, and B<GAWK_MSEC_SLEEP> the interval between retries. "
3760 "The interval is in milliseconds. On systems that do not support "
3761 "I<usleep>(3), the value is rounded up to an integral number of seconds."
3762 msgstr ""
3763
3764 #. type: Plain text
3765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3767 msgid ""
3768 "If B<POSIXLY_CORRECT> exists in the environment, then I<gawk> behaves "
3769 "exactly as if B<-\\^-posix> had been specified on the command line. If B<-"
3770 "\\^-lint> has been specified, I<gawk> issues a warning message to this "
3771 "effect."
3772 msgstr ""
3773
3774 #. type: SH
3775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3777 #, no-wrap
3778 msgid "EXIT STATUS"
3779 msgstr ""
3780
3781 #. type: Plain text
3782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3784 msgid ""
3785 "If the B<exit> statement is used with a value, then I<gawk> exits with the "
3786 "numeric value given to it."
3787 msgstr ""
3788
3789 #. type: Plain text
3790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3792 msgid ""
3793 "Otherwise, if there were no problems during execution, I<gawk> exits with "
3794 "the value of the C constant B<EXIT_SUCCESS>. This is usually zero."
3795 msgstr ""
3796
3797 #. type: Plain text
3798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3800 msgid ""
3801 "If an error occurs, I<gawk> exits with the value of the C constant "
3802 "B<EXIT_FAILURE>. This is usually one."
3803 msgstr ""
3804
3805 #. type: Plain text
3806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3808 msgid ""
3809 "If I<gawk> exits because of a fatal error, the exit status is 2. On non-"
3810 "POSIX systems, this value may be mapped to B<EXIT_FAILURE>."
3811 msgstr ""
3812
3813 #. type: SH
3814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3816 #, no-wrap
3817 msgid "VERSION INFORMATION"
3818 msgstr ""
3819
3820 #. type: Plain text
3821 #: archlinux fedora-rawhide opensuse-tumbleweed
3822 msgid "This man page documents I<gawk>, version 5.4."
3823 msgstr ""
3824
3825 #. type: SH
3826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3828 #, no-wrap
3829 msgid "AUTHORS"
3830 msgstr ""
3831
3832 #. type: Plain text
3833 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3834 #: opensuse-leap-16-1 opensuse-tumbleweed
3835 msgid ""
3836 "The original version of \\*(UX I<awk> was designed and implemented by Alfred "
3837 "Aho, Peter Weinberger, and Brian Kernighan of Bell Laboratories. Ozan Yigit "
3838 "is the current maintainer. Brian Kernighan occasionally dabbles in its "
3839 "development."
3840 msgstr ""
3841
3842 #. type: Plain text
3843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3845 msgid ""
3846 "Paul Rubin and Jay Fenlason, of the Free Software Foundation, wrote I<gawk>, "
3847 "to be compatible with the original version of I<awk> distributed in Seventh "
3848 "Edition \\*(UX. John Woods contributed a number of bug fixes. David "
3849 "Trueman, with contributions from Arnold Robbins, made I<gawk> compatible "
3850 "with the new version of \\*(UX I<awk>. Arnold Robbins is the current "
3851 "maintainer."
3852 msgstr ""
3853
3854 #. type: Plain text
3855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3857 msgid ""
3858 "See \\*(EP for a full list of the contributors to I<gawk> and its "
3859 "documentation."
3860 msgstr ""
3861
3862 #. type: Plain text
3863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3865 msgid ""
3866 "See the B<README> file in the I<gawk> distribution for up-to-date "
3867 "information about maintainers and which ports are currently supported."
3868 msgstr ""
3869
3870 #. type: SH
3871 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3872 #: opensuse-leap-16-1 opensuse-tumbleweed
3873 #, no-wrap
3874 msgid "BUG REPORTS AND QUESTIONS"
3875 msgstr ""
3876
3877 #. type: Plain text
3878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3880 msgid ""
3881 "If you find a bug in I<gawk>, please use the I<gawkbug>(1) program to "
3882 "report it."
3883 msgstr ""
3884
3885 #. type: Plain text
3886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3888 msgid ""
3889 "Full instructions for reporting a bug are provided in I<https://www.gnu.org/"
3890 "software/gawk/manual/html_node/Bugs.html>. I<Please> carefully read and "
3891 "follow the instructions given there. This will make bug reporting and "
3892 "resolution much easier for everyone involved. Really."
3893 msgstr ""
3894
3895 #. type: Plain text
3896 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3897 #: opensuse-leap-16-1 opensuse-tumbleweed
3898 msgid ""
3899 "On the other hand, if you have a question as to how to accomplish a "
3900 "particular task using I<awk> or I<gawk>, send an email to B<help-"
3901 "[email protected]> with your request for help."
3902 msgstr ""
3903
3904 #. type: SH
3905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3907 #, no-wrap
3908 msgid "BUGS"
3909 msgstr ""
3910
3911 #. type: Plain text
3912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3914 msgid ""
3915 "The B<-F> option is not necessary given the command line variable assignment "
3916 "feature; it remains only for backwards compatibility."
3917 msgstr ""
3918
3919 #. type: Plain text
3920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3922 msgid "This manual page is too long; I<gawk> has too many features."
3923 msgstr ""
3924
3925 #. type: SH
3926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3928 #, no-wrap
3929 msgid "SEE ALSO"
3930 msgstr ""
3931
3932 #. type: Plain text
3933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3935 msgid ""
3936 "I<egrep>(1), I<sed>(1), I<gawkbug>(1), I<printf>(3), and I<strftime>(3)."
3937 msgstr ""
3938
3939 #. type: Plain text
3940 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3941 #: opensuse-leap-16-1 opensuse-tumbleweed
3942 msgid ""
3943 "I<The AWK Programming Language>, second edition, Alfred V.\\& Aho, Brian W."
3944 "\\& Kernighan, Peter J.\\& Weinberger, Addison-Wesley, 2023. ISBN "
3945 "9-780138-269722."
3946 msgstr ""
3947
3948 #. type: Plain text
3949 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
3950 #: opensuse-leap-16-1 opensuse-tumbleweed
3951 msgid ""
3952 "\\*(EP, Edition 5.3, shipped with the I<gawk> source. The current version "
3953 "of this document is available online at I<https://www.gnu.org/software/gawk/"
3954 "manual>."
3955 msgstr ""
3956
3957 #. type: Plain text
3958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3960 msgid ""
3961 "The GNU B<gettext> documentation, available online at I<https://www.gnu.org/"
3962 "software/gettext>."
3963 msgstr ""
3964
3965 #. type: SH
3966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3968 #, no-wrap
3969 msgid "EXAMPLES"
3970 msgstr ""
3971
3972 #. type: Plain text
3973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3975 #, no-wrap
3976 msgid "Print and sort the login names of all users:\n"
3977 msgstr ""
3978
3979 #. type: Plain text
3980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3982 #, no-wrap
3983 msgid ""
3984 "B<\tBEGIN\t{ FS = \":\" }\n"
3985 "\t\t{ print $1 | \"sort\" }>\n"
3986 msgstr ""
3987
3988 #. type: Plain text
3989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3991 #, no-wrap
3992 msgid "Count lines in a file:\n"
3993 msgstr ""
3994
3995 #. type: Plain text
3996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3998 #, no-wrap
3999 msgid ""
4000 "B<\t\t{ nlines++ }\n"
4001 "\tEND\t{ print nlines }>\n"
4002 msgstr ""
4003
4004 #. type: Plain text
4005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4007 #, no-wrap
4008 msgid "Precede each line by its number in the file:\n"
4009 msgstr ""
4010
4011 #. type: Plain text
4012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4014 #, no-wrap
4015 msgid "B<\t{ print FNR, $0 }>\n"
4016 msgstr ""
4017
4018 #. type: Plain text
4019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4021 #, no-wrap
4022 msgid "Concatenate and line number (a variation on a theme):\n"
4023 msgstr ""
4024
4025 #. type: Plain text
4026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4028 #, no-wrap
4029 msgid "B<\t{ print NR, $0 }>\n"
4030 msgstr ""
4031
4032 #. type: Plain text
4033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4035 #, no-wrap
4036 msgid "Run an external command for particular lines of data:\n"
4037 msgstr ""
4038
4039 #. type: Plain text
4040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4042 #, no-wrap
4043 msgid ""
4044 "B<\ttail -f access_log |\n"
4045 "\tawk '/myhome.html/ { system(\"nmap \" $1 \"E<gt>E<gt> logdir/myhome.html\") }'>\n"
4046 msgstr ""
4047
4048 #. type: SH
4049 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4050 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4051 #, no-wrap
4052 msgid "COPYING PERMISSIONS"
4053 msgstr ""
4054
4055 #. type: Plain text
4056 #: archlinux fedora-rawhide opensuse-tumbleweed
4057 msgid ""
4058 "Copyright \\(co 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, "
4059 "2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011, 2012, 2013, 2014, "
4060 "2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026 Free "
4061 "Software Foundation, Inc."
4062 msgstr ""
4063
4064 #. type: Plain text
4065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4067 msgid ""
4068 "Permission is granted to make and distribute verbatim copies of this manual "
4069 "page provided the copyright notice and this permission notice are preserved "
4070 "on all copies."
4071 msgstr ""
4072
4073 #. type: Plain text
4074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4076 msgid ""
4077 "Permission is granted to copy and distribute modified versions of this "
4078 "manual page under the conditions for verbatim copying, provided that the "
4079 "entire resulting derived work is distributed under the terms of a permission "
4080 "notice identical to this one."
4081 msgstr ""
4082
4083 #. type: Plain text
4084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4086 msgid ""
4087 "Permission is granted to copy and distribute translations of this manual "
4088 "page into another language, under the above conditions for modified "
4089 "versions, except that this permission notice may be stated in a translation "
4090 "approved by the Foundation."
4091 msgstr ""
4092
4093 #. type: TH
4094 #: debian-trixie
4095 #, no-wrap
4096 msgid "Jun 09 2022"
4097 msgstr ""
4098
4099 #. type: Plain text
4100 #: debian-trixie
4101 msgid ""
4102 "Additionally, every long option has a corresponding short option, so that "
4103 "the option's functionality may be used from within B<#!> executable scripts."
4104 msgstr ""
4105
4106 #. type: TP
4107 #: debian-trixie
4108 #, no-wrap
4109 msgid "B<-f>I< program-file>,I< >"
4110 msgstr ""
4111
4112 #. type: Plain text
4113 #: debian-trixie
4114 msgid ""
4115 "B<-\\^-file>I< program-file> Read the \\*(AK program source from the file "
4116 "I<program-file>, instead of from the first command line argument. Multiple "
4117 "B<-f> options may be used. Files read with B<-f> are treated as if they "
4118 "begin with an implicit B<@namespace \"awk\"> statement."
4119 msgstr ""
4120
4121 #. type: TP
4122 #: debian-trixie
4123 #, no-wrap
4124 msgid "B<-F>I< fs>, "
4125 msgstr ""
4126
4127 #. type: Plain text
4128 #: debian-trixie
4129 msgid ""
4130 "B<-\\^-field-separator>I< fs> Use I<fs> for the input field separator (the "
4131 "value of the B<FS> predefined variable)."
4132 msgstr ""
4133
4134 #. type: TP
4135 #: debian-trixie
4136 #, no-wrap
4137 msgid "B<-b>, "
4138 msgstr ""
4139
4140 #. type: Plain text
4141 #: debian-trixie
4142 msgid ""
4143 "B<-\\^-characters-as-bytes> Treat all input data as single-byte characters. "
4144 "The B<-\\^-posix> option overrides this one."
4145 msgstr ""
4146
4147 #. type: TP
4148 #: debian-trixie
4149 #, no-wrap
4150 msgid "B<-c>, "
4151 msgstr ""
4152
4153 #. type: Plain text
4154 #: debian-trixie
4155 msgid ""
4156 "B<-\\^-traditional> Run in I<compatibility> mode. In compatibility mode, "
4157 "I<gawk> behaves identically to Brian Kernighan's I<awk>; none of the \\*(GN-"
4158 "specific extensions are recognized."
4159 msgstr ""
4160
4161 #. type: TP
4162 #: debian-trixie
4163 #, no-wrap
4164 msgid "B<-C>, "
4165 msgstr ""
4166
4167 #. type: Plain text
4168 #: debian-trixie
4169 msgid ""
4170 "B<-\\^-copyright> Print the short version of the \\*(GN copyright "
4171 "information message on the standard output and exit successfully."
4172 msgstr ""
4173
4174 #. type: TP
4175 #: debian-trixie
4176 #, no-wrap
4177 msgid "B<-e>I< program-text>, "
4178 msgstr ""
4179
4180 #. type: Plain text
4181 #: debian-trixie
4182 msgid ""
4183 "B<-\\^-source>I< program-text> Use I<program-text> as \\*(AK program source "
4184 "code. Each argument supplied via B<-e> is treated as if it begins with an "
4185 "implicit B<@namespace \"awk\"> statement."
4186 msgstr ""
4187
4188 #. type: Plain text
4189 #: debian-trixie
4190 msgid ""
4191 "Similar to B<-f>, however, this is option is the last one processed. This "
4192 "should be used with B<#!> scripts, particularly for CGI applications, to "
4193 "avoid passing in options or source code (!) on the command line from a URL. "
4194 "This option disables command-line variable assignments."
4195 msgstr ""
4196
4197 #. type: TP
4198 #: debian-trixie
4199 #, no-wrap
4200 msgid "B<-g>, "
4201 msgstr ""
4202
4203 #. type: Plain text
4204 #: debian-trixie
4205 msgid ""
4206 "B<-\\^-gen-pot> Scan and parse the \\*(AK program, and generate a \\*(GN "
4207 "B<\\&.pot> (Portable Object Template) format file on standard output with "
4208 "entries for all localizable strings in the program. The program itself is "
4209 "not executed."
4210 msgstr ""
4211
4212 #. type: TP
4213 #: debian-trixie
4214 #, no-wrap
4215 msgid "B<-h>, "
4216 msgstr ""
4217
4218 #. type: Plain text
4219 #: debian-trixie
4220 msgid ""
4221 "B<-\\^-help> Print a relatively short summary of the available options on "
4222 "the standard output. Per the I<GNU Coding Standards>, these options cause "
4223 "an immediate, successful exit."
4224 msgstr ""
4225
4226 #. type: TP
4227 #: debian-trixie
4228 #, no-wrap
4229 msgid "B<-I>, "
4230 msgstr ""
4231
4232 #. type: Plain text
4233 #: debian-trixie
4234 msgid ""
4235 "B<-\\^-trace> Print the internal byte code names as they are executed when "
4236 "running the program. The trace is printed to standard error. Each ``op "
4237 "code'' is preceded by a B<+> sign in the output."
4238 msgstr ""
4239
4240 #. type: TP
4241 #: debian-trixie
4242 #, no-wrap
4243 msgid "B<-l>I< lib>, "
4244 msgstr ""
4245
4246 #. type: Plain text
4247 #: debian-trixie
4248 msgid ""
4249 "B<-\\^-load>I< lib> Load a I<gawk> extension from the shared library "
4250 "I<lib>. This searches for the library using the B<AWKLIBPATH> environment "
4251 "variable. If the initial search fails, another attempt will be made after "
4252 "appending the default shared library suffix for the platform. The library "
4253 "initialization routine is expected to be named B<dl_load()>."
4254 msgstr ""
4255
4256 #. type: TP
4257 #: debian-trixie
4258 #, no-wrap
4259 msgid "B<-M>, "
4260 msgstr ""
4261
4262 #. type: Plain text
4263 #: debian-trixie
4264 msgid ""
4265 "B<-\\^-bignum> Force arbitrary precision arithmetic on numbers. This option "
4266 "has no effect if I<gawk> is not compiled to use the GNU MPFR and GMP "
4267 "libraries. (In such a case, I<gawk> issues a warning.)"
4268 msgstr ""
4269
4270 #. type: Plain text
4271 #: debian-trixie
4272 msgid ""
4273 "B<NOTE:> This feature is I<on parole>. The primary I<gawk> maintainer is no "
4274 "longer supporting it, although there is a member of the development team who "
4275 "is. If this situation changes, the feature will be removed from I<gawk>."
4276 msgstr ""
4277
4278 #. type: TP
4279 #: debian-trixie
4280 #, no-wrap
4281 msgid "B<-n>, "
4282 msgstr ""
4283
4284 #. type: Plain text
4285 #: debian-trixie
4286 msgid ""
4287 "B<-\\^-non-decimal-data> Recognize octal and hexadecimal values in input "
4288 "data. I<Use this option with great caution!>"
4289 msgstr ""
4290
4291 #. type: TP
4292 #: debian-trixie
4293 #, no-wrap
4294 msgid "B<-N>, "
4295 msgstr ""
4296
4297 #. type: Plain text
4298 #: debian-trixie
4299 msgid ""
4300 "B<-\\^-use-lc-numeric> Force I<gawk> to use the locale's decimal point "
4301 "character when parsing input data."
4302 msgstr ""
4303
4304 #. type: TP
4305 #: debian-trixie
4306 #, no-wrap
4307 msgid "B<-O>, "
4308 msgstr ""
4309
4310 #. type: Plain text
4311 #: debian-trixie
4312 msgid ""
4313 "B<-\\^-optimize> Enable I<gawk>'s default optimizations upon the internal "
4314 "representation of the program. This option is on by default."
4315 msgstr ""
4316
4317 #. type: TP
4318 #: debian-trixie
4319 #, no-wrap
4320 msgid "B<-P>, "
4321 msgstr ""
4322
4323 #. type: Plain text
4324 #: debian-trixie
4325 msgid ""
4326 "B<-\\^-posix> This turns on I<compatibility> mode, and disables a number of "
4327 "common extensions."
4328 msgstr ""
4329
4330 #. type: TP
4331 #: debian-trixie
4332 #, no-wrap
4333 msgid "B<-r>, "
4334 msgstr ""
4335
4336 #. type: Plain text
4337 #: debian-trixie
4338 msgid ""
4339 "B<-\\^-re-interval> Enable the use of I<interval expressions> in regular "
4340 "expression matching. Interval expressions are enabled by default, but this "
4341 "option remains for backwards compatibility."
4342 msgstr ""
4343
4344 #. type: TP
4345 #: debian-trixie
4346 #, no-wrap
4347 msgid "B<-s>, "
4348 msgstr ""
4349
4350 #. type: Plain text
4351 #: debian-trixie
4352 msgid ""
4353 "B<-\\^-no-optimize> Disable I<gawk>'s default optimizations upon the "
4354 "internal representation of the program."
4355 msgstr ""
4356
4357 #. type: TP
4358 #: debian-trixie
4359 #, no-wrap
4360 msgid "B<-S>, "
4361 msgstr ""
4362
4363 #. type: Plain text
4364 #: debian-trixie
4365 msgid ""
4366 "B<-\\^-sandbox> Run I<gawk> in sandbox mode, disabling the B<system()> "
4367 "function, input redirection with B<getline>, output redirection with "
4368 "B<print> and B<printf>, and loading dynamic extensions. Command execution "
4369 "(through pipelines) is also disabled."
4370 msgstr ""
4371
4372 #. type: TP
4373 #: debian-trixie
4374 #, no-wrap
4375 msgid "B<-t>, "
4376 msgstr ""
4377
4378 #. type: Plain text
4379 #: debian-trixie
4380 msgid ""
4381 "B<-\\^-lint-old> Provide warnings about constructs that are not portable to "
4382 "the original version of \\*(UX I<awk>."
4383 msgstr ""
4384
4385 #. type: TP
4386 #: debian-trixie
4387 #, no-wrap
4388 msgid "B<-V>, "
4389 msgstr ""
4390
4391 #. type: Plain text
4392 #: debian-trixie
4393 msgid ""
4394 "B<-\\^-version> Print version information for this particular copy of "
4395 "I<gawk> on the standard output. This is useful when reporting bugs. Per "
4396 "the I<GNU Coding Standards>, these options cause an immediate, successful "
4397 "exit."
4398 msgstr ""
4399
4400 #. type: Plain text
4401 #: debian-trixie
4402 msgid ""
4403 "Signal the end of options. This is useful to allow further arguments to the "
4404 "\\*(AK program itself to start with a ``-''."
4405 msgstr ""
4406
4407 #. type: Plain text
4408 #: debian-trixie
4409 msgid ""
4410 "For each input file, if a B<BEGINFILE> rule exists, I<gawk> executes the "
4411 "associated code before processing the contents of the file. Similarly, "
4412 "I<gawk> executes the code associated with B<ENDFILE> rules after processing "
4413 "the file."
4414 msgstr ""
4415
4416 #. type: Plain text
4417 #: debian-trixie
4418 msgid ""
4419 "I<Gawk\\^>'s built-in variables are listed below. This list is purposely "
4420 "terse. For details, see I<https://www.gnu.org/software/gawk/manual/html_node/"
4421 "Built_002din-Variables>."
4422 msgstr ""
4423
4424 #. type: Plain text
4425 #: debian-trixie
4426 msgid ""
4427 "I<gawk> supports true multidimensional arrays. It does not require that such "
4428 "arrays be ``rectangular'' as in C or C++. See I<https://www.gnu.org/"
4429 "software/gawk/manual/html_node/Arrays> for details."
4430 msgstr ""
4431
4432 #. type: Plain text
4433 #: debian-trixie
4434 msgid ""
4435 "Variables and fields may be (floating point) numbers, or strings, or both. "
4436 "They may also be regular expressions. How the value of a variable is "
4437 "interpreted depends upon its context. If used in a numeric expression, it "
4438 "will be treated as a number; if used as a string it will be treated as a "
4439 "string."
4440 msgstr ""
4441
4442 #. type: Plain text
4443 #: debian-trixie
4444 msgid ""
4445 "I<Gawk> provides I<strongly typed> regular expression constants. These are "
4446 "written with a leading B<@> symbol (like so: B<@/value/>). Such constants "
4447 "may be assigned to scalars (variables, array elements) and passed to user-"
4448 "defined functions. Variables that have been so assigned have regular "
4449 "expression type."
4450 msgstr ""
4451
4452 #. type: Plain text
4453 #: debian-trixie
4454 #, no-wrap
4455 msgid ""
4456 "B<BEGIN>\n"
4457 "B<END>\n"
4458 "B<BEGINFILE>\n"
4459 "B<ENDFILE>\n"
4460 "B</>I<regular expression>B</>\n"
4461 "I<relational expression>\n"
4462 "I<pattern>B< && >I<pattern>\n"
4463 "I<pattern>B< || >I<pattern>\n"
4464 "I<pattern>B< ? >I<pattern>B< : >I<pattern>\n"
4465 "B<(>I<pattern>B<)>\n"
4466 "B<!>I< pattern>\n"
4467 "I<pattern1>B<, >I<pattern2>\n"
4468 msgstr ""
4469
4470 #. type: Plain text
4471 #: debian-trixie
4472 msgid ""
4473 "B<BEGINFILE> and B<ENDFILE> are additional special patterns whose actions "
4474 "are executed before reading the first record of each command-line input file "
4475 "and after reading the last record of each file. Inside the B<BEGINFILE> "
4476 "rule, the value of B<ERRNO> is the empty string if the file was opened "
4477 "successfully. Otherwise, there is some problem with the file and the code "
4478 "should use B<nextfile> to skip it. If that is not done, I<gawk> produces its "
4479 "usual fatal error for files that cannot be opened."
4480 msgstr ""
4481
4482 #. type: Plain text
4483 #: debian-trixie
4484 msgid ""
4485 "The C conditional expression. This has the form I<expr1>B< ? >I<expr2>B< : "
4486 ">I<expr3>\\&. If I<expr1> is true, the value of the expression is I<expr2>, "
4487 "otherwise it is I<expr3>. Only one of I<expr2> and I<expr3> is evaluated."
4488 msgstr ""
4489
4490 #. type: Plain text
4491 #: debian-trixie
4492 msgid ""
4493 "The B<getline> command returns 1 on success, zero on end of file, and -1 on "
4494 "an error. If the I<errno>(3) value indicates that the I/O operation may be "
4495 "retried, and B<PROCINFO[\">I<input\\^>B<\", \"RETRY\"]> is set, then -2 is "
4496 "returned instead of -1, and further calls to B<getline> may be attempted. "
4497 "Upon an error, B<ERRNO> is set to a string describing the problem."
4498 msgstr ""
4499
4500 #. type: Plain text
4501 #: debian-trixie
4502 msgid ""
4503 "B<NOTE>: Failure in opening a two-way socket results in a non-fatal error "
4504 "being returned to the calling function. If using a pipe, coprocess, or "
4505 "socket to B<getline>, or from B<print> or B<printf> within a loop, you "
4506 "I<must> use B<close()> to create new instances of the command or socket. "
4507 "\\*(AK does not automatically close pipes, sockets, or coprocesses when they "
4508 "return EOF."
4509 msgstr ""
4510
4511 #. type: Plain text
4512 #: debian-trixie
4513 msgid ""
4514 "The \\*(AK versions of the B<printf> statement and B<sprintf()> function are "
4515 "similar to those of C. For details, see I<https://www.gnu.org/software/gawk/"
4516 "manual/html_node/Printf.html>."
4517 msgstr ""
4518
4519 #. type: Plain text
4520 #: debian-trixie debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4521 msgid "Similar, but use UDP/IP instead of TCP/IP."
4522 msgstr ""
4523
4524 #. type: Plain text
4525 #: debian-trixie
4526 msgid ""
4527 "Return the number of elements in the source array I<s>. Sort the contents "
4528 "of I<s> using I<gawk\\^>'s normal rules for comparing values, and replace "
4529 "the indices of the sorted values I<s> with sequential integers starting with "
4530 "1. If the optional destination array I<d> is specified, first duplicate I<s> "
4531 "into I<d>, and then sort I<d>, leaving the indices of the source array I<s> "
4532 "unchanged. The optional string I<how> controls the direction and the "
4533 "comparison mode. Valid values for I<how> are described in I<https://"
4534 "www.gnu.org/software/gawk/manual/html_node/String-Functions.html#String-"
4535 "Functions>. I<s> and I<d> are allowed to be the same array; this only makes "
4536 "sense when supplying the third argument as well."
4537 msgstr ""
4538
4539 #. type: Plain text
4540 #: debian-trixie
4541 msgid ""
4542 "I<Gawk> provides the following functions for obtaining time stamps and "
4543 "formatting them. Details are provided in I<https://www.gnu.org/software/gawk/"
4544 "manual/html_node/Time-Functions>."
4545 msgstr ""
4546
4547 #. type: Plain text
4548 #: debian-trixie debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4549 msgid ""
4550 "Return a string indicating the type of I<x>. The string will be one of "
4551 "B<\"array\">, B<\"number\">, B<\"regexp\">, B<\"string\">, B<\"strnum\">, "
4552 "B<\"unassigned\">, or B<\"undefined\">."
4553 msgstr ""
4554
4555 #. type: Plain text
4556 #: debian-trixie
4557 msgid ""
4558 "Functions may be called indirectly. To do this, assign the name of the "
4559 "function to be called, as a string, to a variable. Then use the variable as "
4560 "if it were the name of a function, prefixed with an B<@> sign, like so:"
4561 msgstr ""
4562
4563 #. type: Plain text
4564 #: debian-trixie
4565 msgid ""
4566 "String constants are sequences of characters enclosed in double quotes. In "
4567 "non-English speaking environments, it is possible to mark strings in the "
4568 "\\*(AK program as requiring translation to the local natural language. Such "
4569 "strings are marked in the \\*(AK program with a leading underscore (``_''). "
4570 "For example,"
4571 msgstr ""
4572
4573 #. type: Plain text
4574 #: debian-trixie debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4575 msgid ""
4576 "The B<AWKPATH> environment variable can be used to provide a list of "
4577 "directories that I<gawk> searches when looking for files named via the B<-"
4578 "f>, B<-\\^-file>, B<-i> and B<-\\^-include> options, and the B<@include> "
4579 "directive. If the initial search fails, the path is searched again after "
4580 "appending B<\\&.awk> to the filename."
4581 msgstr ""
4582
4583 #. type: Plain text
4584 #: debian-trixie
4585 msgid ""
4586 "The B<GAWK_PERSIST_FILE> environment variable, if present, specifies a file "
4587 "to use as the backing store for persistent memory. I<This is an "
4588 "experimental feature>. See \\*(EP for the details."
4589 msgstr ""
4590
4591 #. type: Plain text
4592 #: debian-trixie
4593 msgid ""
4594 "For connection to a remote host via socket, B<GAWK_SOCK_RETRIES> controls "
4595 "the number of retries, and B<GAWK_MSEC_SLEEP> the interval between retries. "
4596 "The interval is in milliseconds. On systems that do not support "
4597 "I<usleep>(3), the value is rounded up to an integral number of seconds."
4598 msgstr ""
4599
4600 #. type: Plain text
4601 #: debian-trixie
4602 msgid "This man page documents I<gawk>, version 5.2."
4603 msgstr ""
4604
4605 #. type: Plain text
4606 #: debian-trixie
4607 msgid ""
4608 "The original version of \\*(UX I<awk> was designed and implemented by Alfred "
4609 "Aho, Peter Weinberger, and Brian Kernighan of Bell Laboratories. Brian "
4610 "Kernighan continues to maintain and enhance it."
4611 msgstr ""
4612
4613 #. type: SH
4614 #: debian-trixie
4615 #, no-wrap
4616 msgid "BUG REPORTS"
4617 msgstr ""
4618
4619 #. type: Plain text
4620 #: debian-trixie
4621 msgid ""
4622 "I<The AWK Programming Language>, Alfred V.\\& Aho, Brian W.\\& Kernighan, "
4623 "Peter J.\\& Weinberger, Addison-Wesley, 1988. ISBN 0-201-07981-X."
4624 msgstr ""
4625
4626 #. type: Plain text
4627 #: debian-trixie
4628 msgid ""
4629 "\\*(EP, Edition 5.2, shipped with the I<gawk> source. The current version "
4630 "of this document is available online at I<https://www.gnu.org/software/gawk/"
4631 "manual>."
4632 msgstr ""
4633
4634 #. type: Plain text
4635 #: debian-trixie
4636 msgid ""
4637 "Copyright \\(co 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, "
4638 "2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011, 2012, 2013, 2014, "
4639 "2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Free Software Foundation, Inc."
4640 msgstr ""
4641
4642 #. type: TH
4643 #: debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4644 #, no-wrap
4645 msgid "March 23 2025"
4646 msgstr ""
4647
4648 #. type: Plain text
4649 #: debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4650 msgid ""
4651 "This manual page is provided as a courtesy. Please note that the One Source "
4652 "Of Truth for I<gawk> is the Texinfo manual, available online in several "
4653 "formats at I<https://www.gnu.org/software/gawk/manual>. It may also be "
4654 "installed in the Info subsystem on your system, and available therefore via "
4655 "the I<info>(1) command."
4656 msgstr ""
4657
4658 #. type: Plain text
4659 #: debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4660 msgid ""
4661 "In the case of any contradiction between the Texinfo manual and this man "
4662 "page, the manual should be considered to be authoritative."
4663 msgstr ""
4664
4665 #. type: Plain text
4666 #: debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4667 msgid "This man page documents I<gawk>, version 5.3."
4668 msgstr ""
4669
4670 #. type: Plain text
4671 #: debian-unstable fedora-44 mageia-cauldron opensuse-leap-16-1
4672 msgid ""
4673 "Copyright \\(co 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, "
4674 "2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011, 2012, 2013, 2014, "
4675 "2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 Free "
4676 "Software Foundation, Inc."
4677 msgstr ""