diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-03 11:40:59 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-03 11:40:59 +0200 |
commit | 4470395814eae9c332fedc6ca917b308eb2f32b7 (patch) | |
tree | 96273f3b473bf8d409885a6947a00969c34015b1 | |
parent | 02ea2bf02041509c78708b904c85093b2837acde (diff) | |
download | egawk-4470395814eae9c332fedc6ca917b308eb2f32b7.tar.gz egawk-4470395814eae9c332fedc6ca917b308eb2f32b7.tar.bz2 egawk-4470395814eae9c332fedc6ca917b308eb2f32b7.zip |
More doc fixes, rebuild translations.
-rw-r--r-- | doc/gawk.info | 663 | ||||
-rw-r--r-- | doc/gawk.texi | 190 | ||||
-rw-r--r-- | po/ast.gmo | bin | 37770 -> 37770 bytes | |||
-rw-r--r-- | po/ast.po | 12 | ||||
-rw-r--r-- | po/ca.gmo | bin | 26523 -> 26523 bytes | |||
-rw-r--r-- | po/ca.po | 12 | ||||
-rw-r--r-- | po/da.gmo | bin | 25301 -> 25301 bytes | |||
-rw-r--r-- | po/da.po | 12 | ||||
-rw-r--r-- | po/de.gmo | bin | 25375 -> 25375 bytes | |||
-rw-r--r-- | po/de.po | 12 | ||||
-rw-r--r-- | po/es.gmo | bin | 37806 -> 37806 bytes | |||
-rw-r--r-- | po/es.po | 12 | ||||
-rw-r--r-- | po/fr.gmo | bin | 34451 -> 34451 bytes | |||
-rw-r--r-- | po/fr.po | 12 | ||||
-rw-r--r-- | po/ga.gmo | bin | 34633 -> 34633 bytes | |||
-rw-r--r-- | po/ga.po | 12 | ||||
-rw-r--r-- | po/gawk.pot | 12 | ||||
-rw-r--r-- | po/he.gmo | bin | 25304 -> 25304 bytes | |||
-rw-r--r-- | po/he.po | 12 | ||||
-rw-r--r-- | po/id.gmo | bin | 36511 -> 36511 bytes | |||
-rw-r--r-- | po/id.po | 12 | ||||
-rw-r--r-- | po/it.gmo | bin | 36512 -> 36512 bytes | |||
-rw-r--r-- | po/it.po | 12 | ||||
-rw-r--r-- | po/ja.gmo | bin | 32672 -> 32672 bytes | |||
-rw-r--r-- | po/ja.po | 12 | ||||
-rw-r--r-- | po/nl.gmo | bin | 35146 -> 35146 bytes | |||
-rw-r--r-- | po/nl.po | 12 | ||||
-rw-r--r-- | po/pl.gmo | bin | 38500 -> 38500 bytes | |||
-rw-r--r-- | po/pl.po | 12 | ||||
-rw-r--r-- | po/pt_BR.gmo | bin | 29795 -> 29795 bytes | |||
-rw-r--r-- | po/pt_BR.po | 12 | ||||
-rw-r--r-- | po/ro.gmo | bin | 26104 -> 26104 bytes | |||
-rw-r--r-- | po/ro.po | 12 | ||||
-rw-r--r-- | po/rw.gmo | bin | 474 -> 474 bytes | |||
-rw-r--r-- | po/rw.po | 12 | ||||
-rw-r--r-- | po/sv.gmo | bin | 34505 -> 34505 bytes | |||
-rw-r--r-- | po/sv.po | 12 | ||||
-rw-r--r-- | po/tr.gmo | bin | 34533 -> 34533 bytes | |||
-rw-r--r-- | po/tr.po | 12 | ||||
-rw-r--r-- | po/vi.gmo | bin | 41265 -> 41265 bytes | |||
-rw-r--r-- | po/vi.po | 12 | ||||
-rw-r--r-- | po/zh_CN.gmo | bin | 34380 -> 34380 bytes | |||
-rw-r--r-- | po/zh_CN.po | 12 |
43 files changed, 563 insertions, 542 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index 6dd1e2cc..bd4f7f95 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -10205,7 +10205,7 @@ with a pound sign (`#'): The REGEXP argument may be either a regexp constant (`/.../') or a string constant (`"..."'). In the latter case, the string is - treated as a regexp to be matched. *note Computed Regexps::, for a + treated as a regexp to be matched. *Note Computed Regexps::, for a discussion of the difference between the two forms, and the implications for writing your program correctly. @@ -11834,7 +11834,7 @@ describes the underlying library `gawk' uses for internationalization, as well as how `gawk' makes internationalization features available at the `awk' program level. Having internationalization available at the `awk' level gives software developers additional flexibility--they are -no longer required to write in C when internationalization is a +no longer required to write in C or C++ when internationalization is a requirement. * Menu: @@ -11889,16 +11889,18 @@ in this order: no matter what the local language). 2. The programmer indicates the application's text domain (`"guide"') - to the `gettext' library, by calling the `textdomain' function. + to the `gettext' library, by calling the `textdomain()' function. 3. Messages from the application are extracted from the source code - and collected into a portable object file (`guide.po'), which - lists the strings and their translations. The translations are - initially empty. The original (usually English) messages serve as - the key for lookup of the translations. + and collected into a portable object template file (`guide.pot'), + which lists the strings and their translations. The translations + are initially empty. The original (usually English) messages + serve as the key for lookup of the translations. - 4. For each language with a translator, `guide.po' is copied and - translations are created and shipped with the application. + 4. For each language with a translator, `guide.pot' is copied to a + portable object file (`.po') and translations are created and + shipped with the application. For example, there might be a + `fr.po' for a French translation. 5. Each language's `.po' file is converted into a binary message object (`.mo') file. A message object file contains the original @@ -11912,9 +11914,9 @@ in this order: use `.mo' files in a different directory than the standard one by using the `bindtextdomain()' function. - 8. At runtime, `guide' looks up each string via a call to `gettext'. - The returned string is the translated string if available, or the - original string if not. + 8. At runtime, `guide' looks up each string via a call to + `gettext()'. The returned string is the translated string if + available, or the original string if not. 9. If necessary, it is possible to access messages from a different text domain than the one belonging to the application, without @@ -11922,27 +11924,29 @@ in this order: forth. In C (or C++), the string marking and dynamic translation lookup are -accomplished by wrapping each string in a call to `gettext': +accomplished by wrapping each string in a call to `gettext()': - printf(gettext("Don't Panic!\n")); + printf("%s", gettext("Don't Panic!\n")); The tools that extract messages from source code pull out all -strings enclosed in calls to `gettext'. +strings enclosed in calls to `gettext()'. - The GNU `gettext' developers, recognizing that typing `gettext' over -and over again is both painful and ugly to look at, use the macro `_' -(an underscore) to make things easier: + The GNU `gettext' developers, recognizing that typing `gettext(...)' +over and over again is both painful and ugly to look at, use the macro +`_' (an underscore) to make things easier: /* In the standard header file: */ #define _(str) gettext(str) /* In the program text: */ - printf(_("Don't Panic!\n")); + printf("%s", _("Don't Panic!\n")); This reduces the typing overhead to just three extra characters per -string and is considerably easier to read as well. There are locale -"categories" for different types of locale-related information. The -defined locale categories that `gettext' knows about are: +string and is considerably easier to read as well. + + There are locale "categories" for different types of locale-related +information. The defined locale categories that `gettext' knows about +are: `LC_MESSAGES' Text messages. This is the default category for `gettext' @@ -11983,13 +11987,12 @@ defined locale categories that `gettext' knows about are: ---------- Footnotes ---------- (1) For some operating systems, the `gawk' port doesn't support GNU -`gettext'. This applies most notably to the PC operating systems. As -such, these features are not available if you are using one of those -operating systems. Sorry. +`gettext'. As such, these features are not available if you are using +one of those operating systems. Sorry. (2) Americans use a comma every three decimal places and a period for the decimal point, while many Europeans do exactly the opposite: -`1,234.56' versus `1.234,56'. +1,234.56 versus 1.234,56. File: gawk.info, Node: Programmer i18n, Next: Translator i18n, Prev: Explaining gettext, Up: Internationalization @@ -12034,7 +12037,8 @@ internationalization: message. The default value for DOMAIN is the current value of `TEXTDOMAIN'. The default value for CATEGORY is `"LC_MESSAGES"'. - The same remarks as for the `dcgettext()' function apply. + The same remarks about argument order as for the `dcgettext()' + function apply. `bindtextdomain(DIRECTORY [, DOMAIN])' This built-in function allows you to specify the directory in which @@ -12126,9 +12130,9 @@ File: gawk.info, Node: String Extraction, Next: Printf Ordering, Up: Translat Once your `awk' program is working, and all the strings have been marked and you've set (and perhaps bound) the text domain, it is time to produce translations. First, use the `--gen-pot' command-line -option to create the initial `.po' file: +option to create the initial `.pot' file: - $ gawk --gen-pot -f guide.awk > guide.po + $ gawk --gen-pot -f guide.awk > guide.pot When run with `--gen-pot', `gawk' does not execute your program. Instead, it parses it as usual and prints all marked strings to @@ -12140,8 +12144,8 @@ go through to create and test translations for `guide'. ---------- Footnotes ---------- - (1) Starting with `gettext' version 0.11.5, the `xgettext' utility -that comes with GNU `gettext' can handle `.awk' files. + (1) The `xgettext' utility that comes with GNU `gettext' can handle +`.awk' files. File: gawk.info, Node: Printf Ordering, Next: I18N Portability, Prev: String Extraction, Up: Translator i18n @@ -12160,7 +12164,7 @@ special problem for translation. Consider the following:(1) "%d Zeichen lang ist die Zeichenkette `%s'\n" The problem should be obvious: the order of the format -specifications is different from the original! Even though `gettext' +specifications is different from the original! Even though `gettext()' can return the translated string at runtime, it cannot change the argument order in the call to `printf'. @@ -12269,7 +12273,7 @@ actually almost portable, requiring very little change: } * The use of positional specifications in `printf' or `sprintf()' is - _not_ portable. To support `gettext' at the C level, many + _not_ portable. To support `gettext()' at the C level, many systems' C versions of `sprintf()' do support positional specifiers. But it works only if enough arguments are supplied in the function call. Many versions of `awk' pass `printf' formats @@ -12303,9 +12307,9 @@ source: print "Pardon me, Zaphod who?" } -Run `gawk --gen-pot' to create the `.po' file: +Run `gawk --gen-pot' to create the `.pot' file: - $ gawk --gen-pot -f guide.awk > guide.po + $ gawk --gen-pot -f guide.awk > guide.pot This produces: @@ -12317,17 +12321,17 @@ This produces: msgid "The Answer Is" msgstr "" - This original portable object file is saved and reused for each -language into which the application is translated. The `msgid' is the -original string and the `msgstr' is the translation. + This original portable object template file is saved and reused for +each language into which the application is translated. The `msgid' is +the original string and the `msgstr' is the translation. NOTE: Strings not marked with a leading underscore do not appear - in the `guide.po' file. + in the `guide.pot' file. Next, the messages must be translated. Here is a translation to a hypothetical dialect of English, called "Mellow":(1) - $ cp guide.po guide-mellow.po + $ cp guide.pot guide-mellow.po ADD TRANSLATIONS TO guide-mellow.po ... Following are the translations: @@ -12381,11 +12385,11 @@ File: gawk.info, Node: Gawk I18N, Prev: I18N Example, Up: Internationalizatio 9.6 `gawk' Can Speak Your Language ================================== -As of version 3.1, `gawk' itself has been internationalized using the -GNU `gettext' package. (GNU `gettext' is described in complete detail -in *note Top::.) As of this writing, the latest version of GNU -`gettext' is version 0.17 -(ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz). +`gawk' itself has been internationalized using the GNU `gettext' +package. (GNU `gettext' is described in complete detail in *note +Top::.) As of this writing, the latest version of GNU `gettext' is +version 0.18.1.1 +(ftp://ftp.gnu.org/gnu/gettext/gettext-0.18.1.1.tar.gz). If a translation of `gawk''s messages exists, then `gawk' produces usage messages, warnings, and fatal errors in the local language. @@ -12452,8 +12456,8 @@ zero to a field to force it to be treated as a number. For example: -| 83 123 291 Because it is common to have decimal data with leading zeros, and -because using it could lead to surprising results, the default is to -leave this facility disabled. If you want it, you must explicitly +because using this facility could lead to surprising results, the +default is to leave it disabled. If you want it, you must explicitly request it. *Caution:* _Use of this option is not recommended._ It can break old @@ -12489,13 +12493,13 @@ File: gawk.info, Node: Two-way I/O, Next: TCP/IP Networking, Prev: Nondecimal processing and then read the result. This can always be done with temporary files: - # write the data for processing + # Write the data for processing tempfile = ("mydata." PROCINFO["pid"]) while (NOT DONE WITH DATA) print DATA | ("subprogram > " tempfile) close("subprogram > " tempfile) - # read the results, remove tempfile when done + # Read the results, remove tempfile when done while ((getline newdata < tempfile) > 0) PROCESS newdata APPROPRIATELY close(tempfile) @@ -12506,11 +12510,10 @@ the program be run in a directory that cannot be shared among users; for example, `/tmp' will not do, as another user might happen to be using a temporary file with the same name. - Starting with version 3.1 of `gawk', it is possible to open a -_two-way_ pipe to another process. The second process is termed a -"coprocess", since it runs in parallel with `gawk'. The two-way -connection is created using the new `|&' operator (borrowed from the -Korn shell, `ksh'):(1) + It is possible to open a _two-way_ pipe to another process. The +second process is termed a "coprocess", since it runs in parallel with +`gawk'. The two-way connection is created using the new `|&' operator +(borrowed from the Korn shell, `ksh'):(1) do { print DATA |& "subprogram" @@ -12534,11 +12537,11 @@ or pipeline of programs, that can be started by the shell. standard error separately. * I/O buffering may be a problem. `gawk' automatically flushes all - output down the pipe to the child process. However, if the - coprocess does not flush its output, `gawk' may hang when doing a - `getline' in order to read the coprocess's results. This could - lead to a situation known as "deadlock", where each process is - waiting for the other one to do something. + output down the pipe to the coprocess. However, if the coprocess + does not flush its output, `gawk' may hang when doing a `getline' + in order to read the coprocess's results. This could lead to a + situation known as "deadlock", where each process is waiting for + the other one to do something. It is possible to close just one end of the two-way pipe to a coprocess, by supplying a second argument to the `close()' function of @@ -12579,12 +12582,12 @@ terminates the coprocess and exits. As a side note, the assignment `LC_ALL=C' in the `sort' command ensures traditional Unix (ASCII) sorting from `sort'. - Beginning with `gawk' 3.1.2, you may use Pseudo-ttys (ptys) for -two-way communication instead of pipes, if your system supports them. -This is done on a per-command basis, by setting a special element in -the `PROCINFO' array (*note Auto-set::), like so: + You may also use pseudo-ttys (ptys) for two-way communication +instead of pipes, if your system supports them. This is done on a +per-command basis, by setting a special element in the `PROCINFO' array +(*note Auto-set::), like so: - command = "sort -nr" # command, saved in variable for convenience + command = "sort -nr" # command, save in convenience variable PROCINFO[command, "pty"] = 1 # update PROCINFO print ... |& command # start two-way pipe ... @@ -12605,7 +12608,7 @@ File: gawk.info, Node: TCP/IP Networking, Next: Profiling, Prev: Two-way I/O, 10.3 Using `gawk' for Network Programming ========================================= - `EMISTERED': A host is a host from coast to coast, + `EMISTERED': A host is a host from coast to coast, and no-one can talk to host that's close, unless the host that isn't close is busy hung or dead. @@ -12613,7 +12616,7 @@ File: gawk.info, Node: TCP/IP Networking, Next: Profiling, Prev: Two-way I/O, In addition to being able to open a two-way pipeline to a coprocess on the same system (*note Two-way I/O::), it is possible to make a two-way connection to another process on another system across an IP -networking connection. +network connection. You can think of this as just a _very long_ two-way pipeline to a coprocess. The way `gawk' decides that you want to use TCP/IP @@ -12643,7 +12646,7 @@ LOCAL-PORT when writing a TCP or UDP client. You may also use a well-known service name, such as `smtp' or `http', in which case `gawk' attempts to determine the predefined port number using the C - `getservbyname' function. + `getaddrinfo()' function. REMOTE-HOST The IP address or fully-qualified domain name of the Internet host @@ -12655,7 +12658,8 @@ REMOTE-PORT name. NOTE: Failure in opening a two-way socket will result in a - non-fatal error being returned to the calling function. + non-fatal error being returned to the calling code. The value of + `ERRNO' indicates the error (*note Auto-set::). Consider the following very simple example: @@ -12680,9 +12684,9 @@ File: gawk.info, Node: Profiling, Prev: TCP/IP Networking, Up: Advanced Featu 10.4 Profiling Your `awk' Programs ================================== -Beginning with version 3.1 of `gawk', you may produce execution traces -of your `awk' programs. This is done with a specially compiled version -of `gawk', called `pgawk' ("profiling `gawk'"). +You may produce execution traces of your `awk' programs. This is done +with a specially compiled version of `gawk', called `pgawk' ("profiling +`gawk'"). `pgawk' is identical in every way to `gawk', except that when it has finished running, it creates a profile of your program in a file named @@ -12693,17 +12697,13 @@ slower than `gawk' normally does. used to change the name of the file where `pgawk' will write the profile: - $ pgawk --profile=myprog.prof -f myprog.awk data1 data2 + pgawk --profile=myprog.prof -f myprog.awk data1 data2 In the above example, `pgawk' places the profile in `myprog.prof' instead of in `awkprof.out'. - Regular `gawk' also accepts this option. When called with just -`--profile', `gawk' "pretty prints" the program into `awkprof.out', -without any execution counts. You may supply an option to `--profile' -to change the file name. Here is a sample session showing a simple -`awk' program, its input data, and the results from running `pgawk'. -First, the `awk' program: + Here is a sample session showing a simple `awk' program, its input +data, and the results from running `pgawk'. First, the `awk' program: BEGIN { print "First BEGIN rule" } @@ -12783,12 +12783,13 @@ sometimes have to work late): 6 print "I gotta be me!" } - This example illustrates many of the basic rules for profiling -output. The rules are as follows: + This example illustrates many of the basic features of profiling +output. They are as follows: - * The program is printed in the order `BEGIN' rule, pattern/action - rules, `END' rule and functions, listed alphabetically. Multiple - `BEGIN' and `END' rules are merged together. + * The program is printed in the order `BEGIN' rule, `BEGINFILE' rule, + pattern/action rules, `ENDFILE' rule, `END' rule and functions, + listed alphabetically. Multiple `BEGIN' and `END' rules are + merged together. * Pattern-action rules have two counts. The first count, to the left of the rule, shows how many times the rule's pattern was @@ -12884,7 +12885,7 @@ output profile file. If you use the `HUP' signal instead of the `USR1' signal, `pgawk' produces the profile and the function call trace and then exits. - When `pgawk' runs on MS-DOS or MS-Windows, it uses the `INT' and + When `pgawk' runs on MS-Windows systems, it uses the `INT' and `QUIT' signals for producing the profile and, in the case of the `INT' signal, `pgawk' exits. This is because these systems don't support the `kill' command, so the only signals you can deliver to a program are @@ -12892,6 +12893,10 @@ those generated by the keyboard. The `INT' signal is generated by the `Ctrl-<C>' or `Ctrl-<BREAK>' key, while the `QUIT' signal is generated by the `Ctrl-<\>' key. + Finally, regular `gawk' also accepts the `--profile' option. When +called this way, `gawk' "pretty prints" the program into `awkprof.out', +without any execution counts. + File: gawk.info, Node: Invoking Gawk, Next: Library Functions, Prev: Advanced Features, Up: Top @@ -19370,7 +19375,7 @@ Info file, in approximate chronological order: * Martin Brown provided the port to BeOS and its documentation. * Arno Peters did the initial work to convert `gawk' to use GNU - Automake and `gettext'. + Automake and GNU `gettext'. * Alan J. Broder provided the initial version of the `asort()' function as well as the code for the new optional third argument @@ -21898,7 +21903,7 @@ for short. (You will also see "input" and "output" used as verbs.) `awk' manages the reading of data for you, as well as the breaking it up into records and fields. Your program's job is to tell `awk' -what to with the data. You do this by describing "patterns" in the +what to do with the data. You do this by describing "patterns" in the data to look for, and "actions" to execute when those patterns are seen. This "data-driven" nature of `awk' programs usually makes them both easier to write and easier to read. @@ -24230,7 +24235,7 @@ Index * ' (single quote), vs. apostrophe: Comments. (line 27) * ' (single quote), with double quotes: Quoting. (line 53) * () (parentheses): Regexp Operators. (line 78) -* () (parentheses), pgawk program: Profiling. (line 144) +* () (parentheses), pgawk program: Profiling. (line 141) * * (asterisk), * operator, as multiplication operator: Precedence. (line 55) * * (asterisk), * operator, as regexp operator: Regexp Operators. @@ -24331,13 +24336,14 @@ Index * -v option, variables, assigning: Assignment Options. (line 12) * -W option: Options. (line 44) * . (period): Regexp Operators. (line 43) -* .mo files: Explaining gettext. (line 39) +* .mo files: Explaining gettext. (line 41) * .mo files, converting from .po: I18N Example. (line 62) -* .mo files, specifying directory of <1>: Programmer i18n. (line 45) -* .mo files, specifying directory of: Explaining gettext. (line 51) +* .mo files, specifying directory of <1>: Programmer i18n. (line 46) +* .mo files, specifying directory of: Explaining gettext. (line 53) * .po files <1>: Translator i18n. (line 6) * .po files: Explaining gettext. (line 36) * .po files, converting to .mo: I18N Example. (line 62) +* .pot files: Explaining gettext. (line 30) * / (forward slash): Regexp. (line 10) * / (forward slash), / operator: Precedence. (line 55) * / (forward slash), /= operator <1>: Precedence. (line 95) @@ -24442,10 +24448,10 @@ Index * ^ (caret), in character lists: Character Lists. (line 16) * ^, in FS: Regexp Field Splitting. (line 59) -* _ (underscore), _ C macro: Explaining gettext. (line 68) +* _ (underscore), _ C macro: Explaining gettext. (line 70) * _ (underscore), in names of private variables: Library Names. (line 29) -* _ (underscore), translatable string: Programmer i18n. (line 67) +* _ (underscore), translatable string: Programmer i18n. (line 68) * _gr_init user-defined function: Group Functions. (line 80) * _pw_init user-defined function: Passwd Functions. (line 91) * accessing fields: Fields. (line 6) @@ -24705,11 +24711,11 @@ Index * BEGIN pattern, OFS/ORS variables, assigning values to: Output Separators. (line 20) * BEGIN pattern, operators and: Using BEGIN/END. (line 17) -* BEGIN pattern, pgawk program: Profiling. (line 69) +* BEGIN pattern, pgawk program: Profiling. (line 65) * BEGIN pattern, print statement and: I/O And BEGIN/END. (line 16) * BEGIN pattern, pwcat program: Passwd Functions. (line 128) * BEGIN pattern, running awk programs and: Cut Program. (line 66) -* BEGIN pattern, TEXTDOMAIN variable and: Programmer i18n. (line 58) +* BEGIN pattern, TEXTDOMAIN variable and: Programmer i18n. (line 59) * BEGINFILE pattern, Boolean patterns and: Expression Patterns. (line 73) * BEGINFILE special pattern: BEGINFILE/ENDFILE. (line 6) @@ -24719,8 +24725,8 @@ Index * BeOS: BeOS Installation. (line 6) * Berry, Karl: Acknowledgments. (line 32) * binary input/output: User-modified. (line 10) -* bindtextdomain() function (C library): Explaining gettext. (line 47) -* bindtextdomain() function (gawk) <1>: Programmer i18n. (line 45) +* bindtextdomain() function (C library): Explaining gettext. (line 49) +* bindtextdomain() function (gawk) <1>: Programmer i18n. (line 46) * bindtextdomain() function (gawk): I18N Functions. (line 12) * bindtextdomain() function (gawk), portability and: I18N Portability. (line 33) @@ -24737,7 +24743,7 @@ Index * Boolean operators, See Boolean expressions: Boolean Ops. (line 6) * Bourne shell, quoting rules for: Quoting. (line 18) * braces ({}), actions and: Action Overview. (line 19) -* braces ({}), pgawk program: Profiling. (line 140) +* braces ({}), pgawk program: Profiling. (line 137) * braces ({}), statements, grouping: Statements. (line 10) * bracket expressions, See character lists: Regexp Operators. (line 55) * break debugger command: Breakpoint Control. (line 11) @@ -24753,7 +24759,7 @@ Index * Buening, Andreas <1>: Bugs. (line 70) * Buening, Andreas <2>: Contributors. (line 84) * Buening, Andreas: Acknowledgments. (line 59) -* buffering, input/output <1>: Two-way I/O. (line 71) +* buffering, input/output <1>: Two-way I/O. (line 70) * buffering, input/output: I/O Functions. (line 131) * buffering, interactive vs. noninteractive: I/O Functions. (line 99) * buffers, flushing: I/O Functions. (line 29) @@ -24820,7 +24826,7 @@ Index (line 30) * close() function, return values: Close Files And Pipes. (line 131) -* close() function, two-way pipes and: Two-way I/O. (line 78) +* close() function, two-way pipes and: Two-way I/O. (line 77) * Close, Diane <1>: Contributors. (line 21) * Close, Diane: Manual History. (line 39) * close_func input method: Internals. (line 162) @@ -24907,7 +24913,7 @@ Index * csh utility, POSIXLY_CORRECT environment variable: Options. (line 300) * csh utility, |& operator, comparison with: Two-way I/O. (line 44) * ctime() user-defined function: Function Example. (line 72) -* currency symbols, localization: Explaining gettext. (line 99) +* currency symbols, localization: Explaining gettext. (line 103) * custom.h file: Configuration Philosophy. (line 29) * cut utility: Cut Program. (line 6) @@ -24963,7 +24969,7 @@ Index * date utility, POSIX: Time Functions. (line 258) * dates, converting to timestamps: Time Functions. (line 71) * dates, information related to, localization: Explaining gettext. - (line 111) + (line 115) * Davies, Stephen <1>: Contributors. (line 69) * Davies, Stephen: Acknowledgments. (line 59) * dcgettext() function (gawk) <1>: Programmer i18n. (line 19) @@ -24974,7 +24980,7 @@ Index * dcngettext() function (gawk): I18N Functions. (line 28) * dcngettext() function (gawk), portability and: I18N Portability. (line 33) -* deadlocks: Two-way I/O. (line 71) +* deadlocks: Two-way I/O. (line 70) * debugger commands, b (break): Breakpoint Control. (line 11) * debugger commands, backtrace: Dgawk Stack. (line 13) * debugger commands, break: Breakpoint Control. (line 11) @@ -25209,7 +25215,7 @@ Index * END pattern, next/nextfile statements and: I/O And BEGIN/END. (line 36) * END pattern, operators and: Using BEGIN/END. (line 17) -* END pattern, pgawk program: Profiling. (line 69) +* END pattern, pgawk program: Profiling. (line 65) * END pattern, print statement and: I/O And BEGIN/END. (line 16) * ENDFILE pattern, Boolean patterns and: Expression Patterns. (line 73) * ENDFILE special pattern: BEGINFILE/ENDFILE. (line 6) @@ -25336,13 +25342,14 @@ Index * FILENAME variable: Reading Files. (line 6) * FILENAME variable, getline, setting with: Getline Notes. (line 19) * filenames, assignments as: Ignoring Assigns. (line 6) -* files, .mo: Explaining gettext. (line 39) +* files, .mo: Explaining gettext. (line 41) * files, .mo, converting from .po: I18N Example. (line 62) -* files, .mo, specifying directory of <1>: Programmer i18n. (line 45) -* files, .mo, specifying directory of: Explaining gettext. (line 51) +* files, .mo, specifying directory of <1>: Programmer i18n. (line 46) +* files, .mo, specifying directory of: Explaining gettext. (line 53) * files, .po <1>: Translator i18n. (line 6) * files, .po: Explaining gettext. (line 36) * files, .po, converting to .mo: I18N Example. (line 62) +* files, .pot: Explaining gettext. (line 30) * files, /dev/... special files: Special FD. (line 44) * files, /inet/ (gawk): TCP/IP Networking. (line 6) * files, /inet4/ (gawk): TCP/IP Networking. (line 6) @@ -25361,13 +25368,13 @@ Index * files, managing: Data File Management. (line 6) * files, managing, data file boundaries: Filetrans Function. (line 6) -* files, message object: Explaining gettext. (line 39) +* files, message object: Explaining gettext. (line 41) * files, message object, converting from portable object files: I18N Example. (line 62) * files, message object, specifying directory of <1>: Programmer i18n. - (line 45) + (line 46) * files, message object, specifying directory of: Explaining gettext. - (line 51) + (line 53) * files, multiple passes over: Other Arguments. (line 49) * files, multiple, duplicating output into: Tee Program. (line 6) * files, output, See output files: Close Files And Pipes. @@ -25375,6 +25382,7 @@ Index * files, password: Passwd Functions. (line 16) * files, portable object <1>: Translator i18n. (line 6) * files, portable object: Explaining gettext. (line 36) +* files, portable object template: Explaining gettext. (line 30) * files, portable object, converting to message object files: I18N Example. (line 62) * files, portable object, generating: Options. (line 129) @@ -25481,7 +25489,7 @@ Index * functions, undefined: Function Caveats. (line 79) * functions, user-defined: User-defined. (line 6) * functions, user-defined, calling: Function Caveats. (line 6) -* functions, user-defined, counts: Profiling. (line 135) +* functions, user-defined, counts: Profiling. (line 132) * functions, user-defined, library of: Library Functions. (line 6) * functions, user-defined, next/nextfile statements and <1>: Nextfile Statement. (line 43) @@ -25572,6 +25580,7 @@ Index * get_curfunc_arg_count internal function: Internals. (line 37) * get_record input method: Internals. (line 162) * get_scalar_argument internal macro: Internals. (line 126) +* getaddrinfo() function (C library): TCP/IP Networking. (line 39) * getgrent function (C library): Group Functions. (line 6) * getgrent user-defined function: Group Functions. (line 6) * getgrgid function (C library): Group Functions. (line 182) @@ -25588,7 +25597,7 @@ Index (line 6) * getline command, coprocesses, using from: Getline/Coprocess. (line 6) -* getline command, deadlock and: Two-way I/O. (line 71) +* getline command, deadlock and: Two-way I/O. (line 70) * getline command, explicit input with: Getline. (line 6) * getline command, FILENAME variable and: Getline Notes. (line 19) * getline command, return values: Getline. (line 19) @@ -25601,10 +25610,9 @@ Index * getpwnam user-defined function: Passwd Functions. (line 167) * getpwuid function (C library): Passwd Functions. (line 175) * getpwuid user-defined function: Passwd Functions. (line 179) -* getservbyname function (C library): TCP/IP Networking. (line 39) -* gettext function (C library): Explaining gettext. (line 60) * gettext library: Explaining gettext. (line 6) -* gettext library, locale categories: Explaining gettext. (line 78) +* gettext library, locale categories: Explaining gettext. (line 80) +* gettext() function (C library): Explaining gettext. (line 62) * gettimeofday user-defined function: Gettimeofday Function. (line 16) * GNITS mailing list: Acknowledgments. (line 51) @@ -25649,7 +25657,7 @@ Index * hexadecimal values, enabling interpretation of: Options. (line 160) * histsort.awk program: History Sorting. (line 25) * Hughes, Phil: Acknowledgments. (line 42) -* HUP signal: Profiling. (line 207) +* HUP signal: Profiling. (line 204) * hyphen (-), - operator: Precedence. (line 52) * hyphen (-), -- (decrement/increment) operators: Precedence. (line 46) * hyphen (-), -- operator: Increment Ops. (line 48) @@ -25716,7 +25724,7 @@ Index * installation, tandem: Tandem Installation. (line 6) * installation, vms: VMS Installation. (line 6) * installing gawk: Installation. (line 6) -* INT signal (MS-DOS): Profiling. (line 210) +* INT signal (MS-Windows): Profiling. (line 207) * int() function: Numeric Functions. (line 22) * integers: Basic Data Typing. (line 21) * integers, unsigned: Basic Data Typing. (line 28) @@ -25731,7 +25739,7 @@ Index * internationalization, localization, gawk and: Internationalization. (line 13) * internationalization, localization, locale categories: Explaining gettext. - (line 78) + (line 80) * internationalization, localization, marked strings: Programmer i18n. (line 14) * internationalization, localization, portability and: I18N Portability. @@ -25765,23 +25773,23 @@ Index * Kernighan, Brian <6>: Acknowledgments. (line 73) * Kernighan, Brian <7>: Conventions. (line 33) * Kernighan, Brian: History. (line 17) -* kill command, dynamic profiling: Profiling. (line 185) +* kill command, dynamic profiling: Profiling. (line 182) * Knights, jedi: Undocumented. (line 6) * Kwok, Conrad: Contributors. (line 37) * l debugger command (alias for list): Miscellaneous Dgawk Commands. (line 77) * labels.awk program: Labels Program. (line 48) * languages, data-driven: Basic High Level. (line 85) -* LC_ALL locale category: Explaining gettext. (line 116) -* LC_COLLATE locale category: Explaining gettext. (line 89) -* LC_CTYPE locale category: Explaining gettext. (line 93) -* LC_MESSAGES locale category: Explaining gettext. (line 83) +* LC_ALL locale category: Explaining gettext. (line 120) +* LC_COLLATE locale category: Explaining gettext. (line 93) +* LC_CTYPE locale category: Explaining gettext. (line 97) +* LC_MESSAGES locale category: Explaining gettext. (line 87) * LC_MESSAGES locale category, bindtextdomain() function (gawk): Programmer i18n. - (line 86) -* LC_MONETARY locale category: Explaining gettext. (line 99) -* LC_NUMERIC locale category: Explaining gettext. (line 103) -* LC_RESPONSE locale category: Explaining gettext. (line 107) -* LC_TIME locale category: Explaining gettext. (line 111) + (line 87) +* LC_MONETARY locale category: Explaining gettext. (line 103) +* LC_NUMERIC locale category: Explaining gettext. (line 107) +* LC_RESPONSE locale category: Explaining gettext. (line 111) +* LC_TIME locale category: Explaining gettext. (line 115) * left angle bracket (<), < operator <1>: Precedence. (line 65) * left angle bracket (<), < operator: Comparison Operators. (line 11) @@ -25844,7 +25852,7 @@ Index * Linux: Manual History. (line 28) * list debugger command: Miscellaneous Dgawk Commands. (line 77) -* locale categories: Explaining gettext. (line 78) +* locale categories: Explaining gettext. (line 80) * locale decimal point character: Options. (line 216) * locale, definition of: Locales. (line 6) * localization: I18N and L10N. (line 6) @@ -25858,7 +25866,7 @@ Index * long options: Command Line. (line 13) * loops: While Statement. (line 6) * loops, continue statements and: For Statement. (line 64) -* loops, count for header: Profiling. (line 129) +* loops, count for header: Profiling. (line 126) * loops, exiting: Break Statement. (line 6) * loops, See Also while statement: While Statement. (line 6) * Lost In Space: Dynamic Extensions. (line 6) @@ -25885,17 +25893,17 @@ Index * mawk program: Other Versions. (line 34) * McPhee, Patrick: Contributors. (line 92) * memory, releasing: Internals. (line 92) -* message object files: Explaining gettext. (line 39) +* message object files: Explaining gettext. (line 41) * message object files, converting from portable object files: I18N Example. (line 62) * message object files, specifying directory of <1>: Programmer i18n. - (line 45) + (line 46) * message object files, specifying directory of: Explaining gettext. - (line 51) + (line 53) * metacharacters, escape sequences for: Escape Sequences. (line 132) * mktime() function (gawk): Time Functions. (line 24) * modifiers, in format specifiers: Format Modifiers. (line 6) -* monetary information, localization: Explaining gettext. (line 99) +* monetary information, localization: Explaining gettext. (line 103) * msgfmt utility: I18N Example. (line 62) * n debugger command (alias for next): Dgawk Execution Control. (line 43) @@ -26072,13 +26080,13 @@ Index * P1003.2 POSIX standard: Glossary. (line 426) * parameters, number of: Internals. (line 46) * parentheses (): Regexp Operators. (line 78) -* parentheses (), pgawk program: Profiling. (line 144) +* parentheses (), pgawk program: Profiling. (line 141) * password file: Passwd Functions. (line 16) * patsplit() function: String Functions. (line 264) * patterns: Patterns and Actions. (line 6) * patterns, comparison expressions as: Expression Patterns. (line 14) -* patterns, counts: Profiling. (line 116) +* patterns, counts: Profiling. (line 113) * patterns, default: Very Simple. (line 34) * patterns, empty: Empty. (line 6) * patterns, expressions as: Regexp Patterns. (line 6) @@ -26097,7 +26105,7 @@ Index * Peterson, Hal: Contributors. (line 40) * pgawk program: Profiling. (line 6) * pgawk program, awkprof.out file: Profiling. (line 10) -* pgawk program, dynamic profiling: Profiling. (line 177) +* pgawk program, dynamic profiling: Profiling. (line 174) * pipes, closing: Close Files And Pipes. (line 6) * pipes, input: Getline/Pipe. (line 6) @@ -26145,6 +26153,7 @@ Index * portable object files, converting to message object files: I18N Example. (line 62) * portable object files, generating: Options. (line 129) +* portable object template files: Explaining gettext. (line 30) * porting gawk: New Ports. (line 6) * positional specifiers, printf statement <1>: Printf Ordering. (line 6) @@ -26235,7 +26244,7 @@ Index * PROCINFO array: Auto-set. (line 123) * PROCINFO variable: Internals. (line 149) * profiling awk programs: Profiling. (line 6) -* profiling awk programs, dynamically: Profiling. (line 177) +* profiling awk programs, dynamically: Profiling. (line 174) * profiling gawk, See pgawk program: Profiling. (line 6) * program, definition of: Getting Started. (line 21) * programmers, attractiveness of: Two-way I/O. (line 6) @@ -26270,7 +26279,7 @@ Index * QuikTrim Awk: Other Versions. (line 119) * quit debugger command: Miscellaneous Dgawk Commands. (line 104) -* QUIT signal (MS-DOS): Profiling. (line 210) +* QUIT signal (MS-Windows): Profiling. (line 207) * quoting <1>: Comments. (line 27) * quoting <2>: Long. (line 26) * quoting: Read Terminal. (line 25) @@ -26472,10 +26481,10 @@ Index * side effects, FILENAME variable: Getline Notes. (line 19) * side effects, function calls: Function Calls. (line 54) * side effects, statements: Action Overview. (line 32) -* signals, HUP/SIGHUP: Profiling. (line 207) -* signals, INT/SIGINT (MS-DOS): Profiling. (line 210) -* signals, QUIT/SIGQUIT (MS-DOS): Profiling. (line 210) -* signals, USR1/SIGUSR1: Profiling. (line 185) +* signals, HUP/SIGHUP: Profiling. (line 204) +* signals, INT/SIGINT (MS-Windows): Profiling. (line 207) +* signals, QUIT/SIGQUIT (MS-Windows): Profiling. (line 207) +* signals, USR1/SIGUSR1: Profiling. (line 182) * silent debugger command: Dgawk Execution Control. (line 10) * sin() function: Numeric Functions. (line 73) @@ -26493,9 +26502,9 @@ Index * Solaris, POSIX compliant awk: Other Versions. (line 101) * sort function, arrays, sorting: Array Sorting. (line 6) * sort utility: Word Sorting. (line 56) -* sort utility, coprocesses and: Two-way I/O. (line 84) +* sort utility, coprocesses and: Two-way I/O. (line 83) * sorting characters in different languages: Explaining gettext. - (line 89) + (line 93) * source code, awka: Other Versions. (line 81) * source code, Bell Laboratories awk: Other Versions. (line 13) * source code, gawk: Gawk Distribution. (line 6) @@ -26606,11 +26615,11 @@ Index (line 6) * text, printing: Print. (line 22) * text, printing, unduplicated lines of: Uniq Program. (line 6) -* textdomain function (C library): Explaining gettext. (line 27) * TEXTDOMAIN variable <1>: Programmer i18n. (line 9) * TEXTDOMAIN variable: User-modified. (line 153) -* TEXTDOMAIN variable, BEGIN pattern and: Programmer i18n. (line 58) +* TEXTDOMAIN variable, BEGIN pattern and: Programmer i18n. (line 59) * TEXTDOMAIN variable, portability and: I18N Portability. (line 20) +* textdomain() function (C library): Explaining gettext. (line 27) * tilde (~), ~ operator <1>: Expression Patterns. (line 24) * tilde (~), ~ operator <2>: Precedence. (line 80) * tilde (~), ~ operator <3>: Comparison Operators. @@ -26620,7 +26629,7 @@ Index * tilde (~), ~ operator <6>: Case-sensitivity. (line 26) * tilde (~), ~ operator: Regexp Usage. (line 19) * time, alarm clock example program: Alarm Program. (line 9) -* time, localization and: Explaining gettext. (line 111) +* time, localization and: Explaining gettext. (line 115) * time, managing: Gettimeofday Function. (line 6) * time, retrieving: Time Functions. (line 17) @@ -26680,10 +26689,10 @@ Index * u debugger command (alias for until): Dgawk Execution Control. (line 83) * undefined functions: Function Caveats. (line 79) -* underscore (_), _ C macro: Explaining gettext. (line 68) +* underscore (_), _ C macro: Explaining gettext. (line 70) * underscore (_), in names of private variables: Library Names. (line 29) -* underscore (_), translatable string: Programmer i18n. (line 67) +* underscore (_), translatable string: Programmer i18n. (line 68) * undisplay debugger command: Viewing And Changing Data. (line 80) * undocumented features: Undocumented. (line 6) @@ -26710,12 +26719,12 @@ Index * update_ERRNO_saved internal function: Internals. (line 141) * user database, reading: Passwd Functions. (line 6) * user-defined, functions: User-defined. (line 6) -* user-defined, functions, counts: Profiling. (line 135) +* user-defined, functions, counts: Profiling. (line 132) * user-defined, variables: Variables. (line 6) * user-modifiable variables: User-modified. (line 6) * users, information about, printing: Id Program. (line 6) * users, information about, retrieving: Passwd Functions. (line 16) -* USR1 signal: Profiling. (line 185) +* USR1 signal: Profiling. (line 182) * values, numeric: Basic Data Typing. (line 13) * values, string: Basic Data Typing. (line 13) * variable typing: Typing and Comparison. @@ -26800,7 +26809,7 @@ Index * zerofile.awk program: Empty Files. (line 21) * Zoulas, Christos: Contributors. (line 62) * {} (braces), actions and: Action Overview. (line 19) -* {} (braces), pgawk program: Profiling. (line 140) +* {} (braces), pgawk program: Profiling. (line 137) * {} (braces), statements, grouping: Statements. (line 10) * | (vertical bar): Regexp Operators. (line 68) * | (vertical bar), | operator (I/O) <1>: Precedence. (line 65) @@ -27049,180 +27058,180 @@ Node: Return Statement477107 Node: Dynamic Typing480049 Node: Indirect Calls480786 Node: Internationalization490471 -Node: I18N and L10N491890 -Node: Explaining gettext492574 -Ref: Explaining gettext-Footnote-1497485 -Ref: Explaining gettext-Footnote-2497724 -Node: Programmer i18n497893 -Node: Translator i18n502128 -Node: String Extraction502919 -Ref: String Extraction-Footnote-1503876 -Node: Printf Ordering504002 -Ref: Printf Ordering-Footnote-1506782 -Node: I18N Portability506846 -Ref: I18N Portability-Footnote-1509291 -Node: I18N Example509354 -Ref: I18N Example-Footnote-1511974 -Node: Gawk I18N512046 -Node: Advanced Features512624 -Node: Nondecimal Data513939 -Node: Two-way I/O515500 -Ref: Two-way I/O-Footnote-1520983 -Node: TCP/IP Networking521060 -Node: Profiling523850 -Node: Invoking Gawk531311 -Node: Command Line532618 -Node: Options533403 -Ref: Options-Footnote-1546491 -Node: Other Arguments546516 -Node: AWKPATH Variable549197 -Ref: AWKPATH Variable-Footnote-1551972 -Node: Exit Status552232 -Node: Include Files552904 -Node: Obsolete556505 -Node: Undocumented557306 -Node: Known Bugs557568 -Node: Library Functions558170 -Ref: Library Functions-Footnote-1561151 -Node: Library Names561322 -Ref: Library Names-Footnote-1564795 -Ref: Library Names-Footnote-2565014 -Node: General Functions565100 -Node: Nextfile Function566163 -Node: Strtonum Function570527 -Node: Assert Function573468 -Node: Round Function576772 -Node: Cliff Random Function578312 -Node: Ordinal Functions579327 -Ref: Ordinal Functions-Footnote-1582387 -Node: Join Function582603 -Ref: Join Function-Footnote-1584365 -Node: Gettimeofday Function584565 -Node: Data File Management588276 -Node: Filetrans Function588908 -Node: Rewind Function592334 -Node: File Checking593780 -Node: Empty Files594810 -Node: Ignoring Assigns597035 -Node: Getopt Function598583 -Ref: Getopt Function-Footnote-1609865 -Node: Passwd Functions610068 -Ref: Passwd Functions-Footnote-1619046 -Node: Group Functions619134 -Node: Sample Programs627231 -Node: Running Examples627900 -Node: Clones628628 -Node: Cut Program629760 -Node: Egrep Program639519 -Ref: Egrep Program-Footnote-1647269 -Node: Id Program647379 -Node: Split Program650986 -Node: Tee Program654454 -Node: Uniq Program657197 -Node: Wc Program664564 -Ref: Wc Program-Footnote-1668808 -Node: Miscellaneous Programs669004 -Node: Dupword Program670124 -Node: Alarm Program672155 -Node: Translate Program676697 -Ref: Translate Program-Footnote-1681076 -Ref: Translate Program-Footnote-2681313 -Node: Labels Program681447 -Ref: Labels Program-Footnote-1684738 -Node: Word Sorting684822 -Node: History Sorting689169 -Node: Extract Program691007 -Node: Simple Sed698365 -Node: Igawk Program701422 -Ref: Igawk Program-Footnote-1716153 -Ref: Igawk Program-Footnote-2716354 -Node: Signature Program716492 -Node: Debugger717572 -Node: Debugging718448 -Node: Debugging Concepts718762 -Node: Debugging Terms720615 -Node: Awk Debugging723163 -Node: Sample dgawk session724055 -Node: dgawk invocation724547 -Node: Finding The Bug725731 -Node: List of Debugger Commands732246 -Node: Breakpoint Control733561 -Node: Dgawk Execution Control736771 -Node: Viewing And Changing Data740120 -Node: Dgawk Stack743416 -Node: Dgawk Info744877 -Node: Miscellaneous Dgawk Commands748815 -Node: Readline Support754531 -Node: Dgawk Limitations755347 -Node: Language History757519 -Node: V7/SVR3.1758896 -Node: SVR4761191 -Node: POSIX762636 -Node: BTL764348 -Node: POSIX/GNU766038 -Node: Contributors775702 -Node: Installation779307 -Node: Gawk Distribution780278 -Node: Getting780762 -Node: Extracting781588 -Node: Distribution contents782976 -Node: Unix Installation788049 -Node: Quick Installation788640 -Node: Additional Configuration Options790342 -Node: Configuration Philosophy792105 -Node: Non-Unix Installation794469 -Node: PC Installation794934 -Node: PC Binary Installation796240 -Node: PC Compiling798083 -Node: PC Dynamic802588 -Node: PC Using804951 -Node: Cygwin809499 -Node: MSYS810483 -Node: VMS Installation810989 -Node: VMS Compilation811593 -Node: VMS Installation Details813170 -Node: VMS Running814800 -Node: VMS POSIX816397 -Node: VMS Old Gawk817695 -Node: Unsupported818164 -Node: Atari Installation818626 -Node: Atari Compiling819913 -Node: Atari Using821802 -Node: BeOS Installation824649 -Node: Tandem Installation825794 -Node: Bugs827473 -Node: Other Versions831305 -Node: Notes836527 -Node: Compatibility Mode837219 -Node: Additions838002 -Node: Adding Code838752 -Node: New Ports844804 -Node: Dynamic Extensions848936 -Node: Internals850317 -Node: Plugin License860722 -Node: Sample Library861356 -Node: Internal File Description862020 -Node: Internal File Ops865715 -Ref: Internal File Ops-Footnote-1870591 -Node: Using Internal File Ops870739 -Node: Future Extensions872764 -Node: Basic Concepts876801 -Node: Basic High Level877558 -Ref: Basic High Level-Footnote-1881674 -Node: Basic Data Typing881868 -Node: Floating Point Issues886305 -Node: String Conversion Precision887388 -Ref: String Conversion Precision-Footnote-1889082 -Node: Unexpected Results889191 -Node: POSIX Floating Point Problems891017 -Ref: POSIX Floating Point Problems-Footnote-1894716 -Node: Glossary894754 -Node: Copying918522 -Node: GNU Free Documentation License956079 -Node: next-edition981223 -Node: unresolved981575 -Node: revision982075 -Node: consistency982498 -Node: Index985851 +Node: I18N and L10N491897 +Node: Explaining gettext492581 +Ref: Explaining gettext-Footnote-1497641 +Ref: Explaining gettext-Footnote-2497824 +Node: Programmer i18n497989 +Node: Translator i18n502250 +Node: String Extraction503041 +Ref: String Extraction-Footnote-1504000 +Node: Printf Ordering504086 +Ref: Printf Ordering-Footnote-1506868 +Node: I18N Portability506932 +Ref: I18N Portability-Footnote-1509379 +Node: I18N Example509442 +Ref: I18N Example-Footnote-1512075 +Node: Gawk I18N512147 +Node: Advanced Features512714 +Node: Nondecimal Data514029 +Node: Two-way I/O515590 +Ref: Two-way I/O-Footnote-1521004 +Node: TCP/IP Networking521081 +Node: Profiling523934 +Node: Invoking Gawk531334 +Node: Command Line532641 +Node: Options533426 +Ref: Options-Footnote-1546514 +Node: Other Arguments546539 +Node: AWKPATH Variable549220 +Ref: AWKPATH Variable-Footnote-1551995 +Node: Exit Status552255 +Node: Include Files552927 +Node: Obsolete556528 +Node: Undocumented557329 +Node: Known Bugs557591 +Node: Library Functions558193 +Ref: Library Functions-Footnote-1561174 +Node: Library Names561345 +Ref: Library Names-Footnote-1564818 +Ref: Library Names-Footnote-2565037 +Node: General Functions565123 +Node: Nextfile Function566186 +Node: Strtonum Function570550 +Node: Assert Function573491 +Node: Round Function576795 +Node: Cliff Random Function578335 +Node: Ordinal Functions579350 +Ref: Ordinal Functions-Footnote-1582410 +Node: Join Function582626 +Ref: Join Function-Footnote-1584388 +Node: Gettimeofday Function584588 +Node: Data File Management588299 +Node: Filetrans Function588931 +Node: Rewind Function592357 +Node: File Checking593803 +Node: Empty Files594833 +Node: Ignoring Assigns597058 +Node: Getopt Function598606 +Ref: Getopt Function-Footnote-1609888 +Node: Passwd Functions610091 +Ref: Passwd Functions-Footnote-1619069 +Node: Group Functions619157 +Node: Sample Programs627254 +Node: Running Examples627923 +Node: Clones628651 +Node: Cut Program629783 +Node: Egrep Program639542 +Ref: Egrep Program-Footnote-1647292 +Node: Id Program647402 +Node: Split Program651009 +Node: Tee Program654477 +Node: Uniq Program657220 +Node: Wc Program664587 +Ref: Wc Program-Footnote-1668831 +Node: Miscellaneous Programs669027 +Node: Dupword Program670147 +Node: Alarm Program672178 +Node: Translate Program676720 +Ref: Translate Program-Footnote-1681099 +Ref: Translate Program-Footnote-2681336 +Node: Labels Program681470 +Ref: Labels Program-Footnote-1684761 +Node: Word Sorting684845 +Node: History Sorting689192 +Node: Extract Program691030 +Node: Simple Sed698388 +Node: Igawk Program701445 +Ref: Igawk Program-Footnote-1716176 +Ref: Igawk Program-Footnote-2716377 +Node: Signature Program716515 +Node: Debugger717595 +Node: Debugging718471 +Node: Debugging Concepts718785 +Node: Debugging Terms720638 +Node: Awk Debugging723186 +Node: Sample dgawk session724078 +Node: dgawk invocation724570 +Node: Finding The Bug725754 +Node: List of Debugger Commands732269 +Node: Breakpoint Control733584 +Node: Dgawk Execution Control736794 +Node: Viewing And Changing Data740143 +Node: Dgawk Stack743439 +Node: Dgawk Info744900 +Node: Miscellaneous Dgawk Commands748838 +Node: Readline Support754554 +Node: Dgawk Limitations755370 +Node: Language History757542 +Node: V7/SVR3.1758919 +Node: SVR4761214 +Node: POSIX762659 +Node: BTL764371 +Node: POSIX/GNU766061 +Node: Contributors775725 +Node: Installation779334 +Node: Gawk Distribution780305 +Node: Getting780789 +Node: Extracting781615 +Node: Distribution contents783003 +Node: Unix Installation788076 +Node: Quick Installation788667 +Node: Additional Configuration Options790369 +Node: Configuration Philosophy792132 +Node: Non-Unix Installation794496 +Node: PC Installation794961 +Node: PC Binary Installation796267 +Node: PC Compiling798110 +Node: PC Dynamic802615 +Node: PC Using804978 +Node: Cygwin809526 +Node: MSYS810510 +Node: VMS Installation811016 +Node: VMS Compilation811620 +Node: VMS Installation Details813197 +Node: VMS Running814827 +Node: VMS POSIX816424 +Node: VMS Old Gawk817722 +Node: Unsupported818191 +Node: Atari Installation818653 +Node: Atari Compiling819940 +Node: Atari Using821829 +Node: BeOS Installation824676 +Node: Tandem Installation825821 +Node: Bugs827500 +Node: Other Versions831332 +Node: Notes836554 +Node: Compatibility Mode837246 +Node: Additions838029 +Node: Adding Code838779 +Node: New Ports844831 +Node: Dynamic Extensions848963 +Node: Internals850344 +Node: Plugin License860749 +Node: Sample Library861383 +Node: Internal File Description862047 +Node: Internal File Ops865742 +Ref: Internal File Ops-Footnote-1870618 +Node: Using Internal File Ops870766 +Node: Future Extensions872791 +Node: Basic Concepts876828 +Node: Basic High Level877585 +Ref: Basic High Level-Footnote-1881704 +Node: Basic Data Typing881898 +Node: Floating Point Issues886335 +Node: String Conversion Precision887418 +Ref: String Conversion Precision-Footnote-1889112 +Node: Unexpected Results889221 +Node: POSIX Floating Point Problems891047 +Ref: POSIX Floating Point Problems-Footnote-1894746 +Node: Glossary894784 +Node: Copying918552 +Node: GNU Free Documentation License956109 +Node: next-edition981253 +Node: unresolved981605 +Node: revision982105 +Node: consistency982528 +Node: Index985881 End Tag Table diff --git a/doc/gawk.texi b/doc/gawk.texi index f669ab12..75107215 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -13583,7 +13583,7 @@ The modified string becomes the new value of @var{target}. The @var{regexp} argument may be either a regexp constant (@code{/@dots{}/}) or a string constant (@code{"@dots{}"}). In the latter case, the string is treated as a regexp to be matched. -@ref{Computed Regexps}, for a +@xref{Computed Regexps}, for a discussion of the difference between the two forms, and the implications for writing your program correctly. @@ -15950,7 +15950,7 @@ uses for internationalization, as well as how features available at the @command{awk} program level. Having internationalization available at the @command{awk} level gives software developers additional flexibility---they are no -longer required to write in C when internationalization is +longer required to write in C or C++ when internationalization is a requirement. @menu @@ -15987,8 +15987,8 @@ monetary values are printed and read. The facilities in GNU @code{gettext} focus on messages; strings printed by a program, either directly or via formatting with @code{printf} or @code{sprintf()}.@footnote{For some operating systems, the @command{gawk} -port doesn't support GNU @code{gettext}. This applies most notably to -the PC operating systems. As such, these features are not available +port doesn't support GNU @code{gettext}. +As such, these features are not available if you are using one of those operating systems. Sorry.} @cindex portability, @code{gettext} library and @@ -16013,15 +16013,19 @@ A table with strings of option names is not (e.g., @command{gawk}'s @option{--profile} option should remain the same, no matter what the local language). -@cindex @code{textdomain} function (C library) +@cindex @code{textdomain()} function (C library) @item The programmer indicates the application's text domain (@code{"guide"}) to the @code{gettext} library, -by calling the @code{textdomain} function. +by calling the @code{textdomain()} function. +@cindex @code{.pot} files +@cindex files, @code{.pot} +@cindex portable object template files +@cindex files, portable object template @item Messages from the application are extracted from the source code and -collected into a portable object file (@file{guide.po}), +collected into a portable object template file (@file{guide.pot}), which lists the strings and their translations. The translations are initially empty. The original (usually English) messages serve as the key for @@ -16032,8 +16036,10 @@ lookup of the translations. @cindex portable object files @cindex files, portable object @item -For each language with a translator, @file{guide.po} -is copied and translations are created and shipped with the application. +For each language with a translator, @file{guide.pot} +is copied to a portable object file (@code{.po}) +and translations are created and shipped with the application. +For example, there might be a @file{fr.po} for a French translation. @cindex @code{.mo} files @cindex files, @code{.mo} @@ -16062,7 +16068,7 @@ one by using the @code{bindtextdomain()} function. @cindex files, message object, specifying directory of @item At runtime, @command{guide} looks up each string via a call -to @code{gettext}. The returned string is the translated string +to @code{gettext()}. The returned string is the translated string if available, or the original string if not. @item @@ -16072,21 +16078,21 @@ having to switch the application's default text domain back and forth. @end enumerate -@cindex @code{gettext} function (C library) +@cindex @code{gettext()} function (C library) In C (or C++), the string marking and dynamic translation lookup -are accomplished by wrapping each string in a call to @code{gettext}: +are accomplished by wrapping each string in a call to @code{gettext()}: @example -printf(gettext("Don't Panic!\n")); +printf("%s", gettext("Don't Panic!\n")); @end example The tools that extract messages from source code pull out all -strings enclosed in calls to @code{gettext}. +strings enclosed in calls to @code{gettext()}. @cindex @code{_} (underscore), @code{_} C macro @cindex underscore (@code{_}), @code{_} C macro The GNU @code{gettext} developers, recognizing that typing -@samp{gettext} over and over again is both painful and ugly to look +@samp{gettext(@dots{})} over and over again is both painful and ugly to look at, use the macro @samp{_} (an underscore) to make things easier: @example @@ -16094,7 +16100,7 @@ at, use the macro @samp{_} (an underscore) to make things easier: #define _(str) gettext(str) /* In the program text: */ -printf(_("Don't Panic!\n")); +printf("%s", _("Don't Panic!\n")); @end example @cindex internationalization, localization, locale categories @@ -16103,6 +16109,7 @@ printf(_("Don't Panic!\n")); @noindent This reduces the typing overhead to just three extra characters per string and is considerably easier to read as well. + There are locale @dfn{categories} for different types of locale-related information. The defined locale categories that @code{gettext} knows about are: @@ -16142,7 +16149,7 @@ Numeric information, such as which characters to use for the decimal point and the thousands separator.@footnote{Americans use a comma every three decimal places and a period for the decimal point, while many Europeans do exactly the opposite: -@code{1,234.56} versus @code{1.234,56}.} +1,234.56 versus 1.234,56.} @cindex @code{LC_RESPONSE} locale category @item LC_RESPONSE @@ -16218,7 +16225,7 @@ variant of the same message. The default value for @var{domain} is the current value of @code{TEXTDOMAIN}. The default value for @var{category} is @code{"LC_MESSAGES"}. -The same remarks as for the @code{dcgettext()} function apply. +The same remarks about argument order as for the @code{dcgettext()} function apply. @cindex @code{.mo} files, specifying directory of @cindex files, @code{.mo}, specifying directory of @@ -16357,10 +16364,10 @@ Once your @command{awk} program is working, and all the strings have been marked and you've set (and perhaps bound) the text domain, it is time to produce translations. First, use the @option{--gen-pot} command-line option to create -the initial @file{.po} file: +the initial @file{.pot} file: @example -$ gawk --gen-pot -f guide.awk > guide.po +$ gawk --gen-pot -f guide.awk > guide.pot @end example @cindex @code{xgettext} utility @@ -16369,8 +16376,8 @@ program. Instead, it parses it as usual and prints all marked strings to standard output in the format of a GNU @code{gettext} Portable Object file. Also included in the output are any constant strings that appear as the first argument to @code{dcgettext()} or as the first and -second argument to @code{dcngettext()}.@footnote{Starting with @code{gettext} -version 0.11.5, the @command{xgettext} utility that comes with GNU +second argument to @code{dcngettext()}.@footnote{The +@command{xgettext} utility that comes with GNU @code{gettext} can handle @file{.awk} files.} @xref{I18N Example}, for the full list of steps to go through to create and test @@ -16401,7 +16408,7 @@ A possible German translation for this might be: The problem should be obvious: the order of the format specifications is different from the original! -Even though @code{gettext} can return the translated string +Even though @code{gettext()} can return the translated string at runtime, it cannot change the argument order in the call to @code{printf}. @@ -16419,11 +16426,11 @@ format string itself is @emph{not} included. Thus, in the following example, @samp{string} is the first argument and @samp{length(string)} is the second: @example -$ gawk 'BEGIN @{ -> string = "Dont Panic" -> printf _"%2$d characters live in \"%1$s\"\n", -> string, length(string) -> @}' +$ @kbd{gawk 'BEGIN @{} +> @kbd{string = "Dont Panic"} +> @kbd{printf _"%2$d characters live in \"%1$s\"\n",} +> @kbd{string, length(string)} +> @kbd{@}'} @print{} 10 characters live in "Dont Panic" @end example @@ -16434,10 +16441,10 @@ Positional specifiers can be used with the dynamic field width and precision capability: @example -$ gawk 'BEGIN @{ -> printf("%*.*s\n", 10, 20, "hello") -> printf("%3$*2$.*1$s\n", 20, 10, "hello") -> @}' +$ @kbd{gawk 'BEGIN @{} +> @kbd{printf("%*.*s\n", 10, 20, "hello")} +> @kbd{printf("%3$*2$.*1$s\n", 20, 10, "hello")} +> @kbd{@}'} @print{} hello @print{} hello @end example @@ -16454,10 +16461,10 @@ This is somewhat counterintuitive. @command{gawk} does not allow you to mix regular format specifiers and those with positional specifiers in the same string: -@smallexample -$ gawk 'BEGIN @{ printf _"%d %3$s\n", 1, 2, "hi" @}' +@example +$ @kbd{gawk 'BEGIN @{ printf _"%d %3$s\n", 1, 2, "hi" @}'} @error{} gawk: cmd. line:1: fatal: must use `count$' on all formats or none -@end smallexample +@end example @quotation NOTE There are some pathological cases that @command{gawk} may fail to @@ -16540,7 +16547,7 @@ function dcngettext(string1, string2, number, domain, category) @item The use of positional specifications in @code{printf} or @code{sprintf()} is @emph{not} portable. -To support @code{gettext} at the C level, many systems' C versions of +To support @code{gettext()} at the C level, many systems' C versions of @code{sprintf()} do support positional specifiers. But it works only if enough arguments are supplied in the function call. Many versions of @command{awk} pass @code{printf} formats and arguments unchanged to the @@ -16573,10 +16580,10 @@ BEGIN @{ @end example @noindent -Run @samp{gawk --gen-pot} to create the @file{.po} file: +Run @samp{gawk --gen-pot} to create the @file{.pot} file: @example -$ gawk --gen-pot -f guide.awk > guide.po +$ @kbd{gawk --gen-pot -f guide.awk > guide.pot} @end example @noindent @@ -16595,13 +16602,13 @@ msgstr "" @c endfile @end example -This original portable object file is saved and reused for each language +This original portable object template file is saved and reused for each language into which the application is translated. The @code{msgid} is the original string and the @code{msgstr} is the translation. @quotation NOTE Strings not marked with a leading underscore do not -appear in the @file{guide.po} file. +appear in the @file{guide.pot} file. @end quotation Next, the messages must be translated. @@ -16611,7 +16618,7 @@ called ``Hippy.'' Ah, well.} @example @group -$ cp guide.po guide-mellow.po +$ cp guide.pot guide-mellow.po @var{Add translations to} guide-mellow.po @dots{} @end group @end example @@ -16641,7 +16648,7 @@ GNU/Linux systems. Other versions of @code{gettext} may use a different layout: @example -$ mkdir en_US en_US/LC_MESSAGES +$ @kbd{mkdir en_US en_US/LC_MESSAGES} @end example @cindex @code{.po} files, converting to @code{.mo} @@ -16660,14 +16667,14 @@ This file must be renamed and placed in the proper directory so that @command{gawk} can find it: @example -$ msgfmt guide-mellow.po -$ mv messages en_US/LC_MESSAGES/guide.mo +$ @kbd{msgfmt guide-mellow.po} +$ @kbd{mv messages en_US/LC_MESSAGES/guide.mo} @end example Finally, we run the program to test it: @example -$ gawk -f guide.awk +$ @kbd{gawk -f guide.awk} @print{} Hey man, relax! @print{} Like, the scoop is 42 @print{} Pardon me, Zaphod who? @@ -16680,7 +16687,7 @@ are in a file named @file{libintl.awk}, then we can run @file{guide.awk} unchanged as follows: @example -$ gawk --posix -f guide.awk -f libintl.awk +$ @kbd{gawk --posix -f guide.awk -f libintl.awk} @print{} Don't Panic @print{} The Answer Is 42 @print{} Pardon me, Zaphod who? @@ -16689,7 +16696,7 @@ $ gawk --posix -f guide.awk -f libintl.awk @node Gawk I18N @section @command{gawk} Can Speak Your Language -As of @value{PVERSION} 3.1, @command{gawk} itself has been internationalized +@command{gawk} itself has been internationalized using the GNU @code{gettext} package. @ifinfo (GNU @code{gettext} is described in @@ -16702,7 +16709,7 @@ complete detail in @cite{GNU gettext tools}.) @end ifnotinfo As of this writing, the latest version of GNU @code{gettext} is -@uref{ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz, @value{PVERSION} 0.17}. +@uref{ftp://ftp.gnu.org/gnu/gettext/gettext-0.18.1.1.tar.gz, @value{PVERSION} 0.18.1.1}. If a translation of @command{gawk}'s messages exists, then @command{gawk} produces usage messages, warnings, @@ -16765,9 +16772,9 @@ you can have nondecimal constants in your input data: @c line break here for small book format @example -$ echo 0123 123 0x123 | -> gawk --non-decimal-data '@{ printf "%d, %d, %d\n", -> $1, $2, $3 @}' +$ @kbd{echo 0123 123 0x123 |} +> @kbd{gawk --non-decimal-data '@{ printf "%d, %d, %d\n",} +> @kbd{$1, $2, $3 @}'} @print{} 83, 123, 291 @end example @@ -16775,7 +16782,7 @@ For this feature to work, write your program so that @command{gawk} treats your data as numeric: @example -$ echo 0123 123 0x123 | gawk '@{ print $1, $2, $3 @}' +$ @kbd{echo 0123 123 0x123 | gawk '@{ print $1, $2, $3 @}'} @print{} 0123 123 0x123 @end example @@ -16787,16 +16794,16 @@ numerically. You may need to add zero to a field to force it to be treated as a number. For example: @example -$ echo 0123 123 0x123 | gawk --non-decimal-data ' -> @{ print $1, $2, $3 -> print $1 + 0, $2 + 0, $3 + 0 @}' +$ @kbd{echo 0123 123 0x123 | gawk --non-decimal-data '} +> @kbd{@{ print $1, $2, $3} +> @kbd{print $1 + 0, $2 + 0, $3 + 0 @}'} @print{} 0123 123 0x123 @print{} 83 123 291 @end example Because it is common to have decimal data with leading zeros, and because -using it could lead to surprising results, the default is to leave this -facility disabled. If you want it, you must explicitly request it. +using this facility could lead to surprising results, the default is to leave it +disabled. If you want it, you must explicitly request it. @cindex programming conventions, @code{--non-decimal-data} option @cindex @code{--non-decimal-data} option, @code{strtonum()} function and @@ -16849,13 +16856,13 @@ processing and then read the result. This can always be done with temporary files: @example -# write the data for processing +# Write the data for processing tempfile = ("mydata." PROCINFO["pid"]) while (@var{not done with data}) print @var{data} | ("subprogram > " tempfile) close("subprogram > " tempfile) -# read the results, remove tempfile when done +# Read the results, remove tempfile when done while ((getline newdata < tempfile) > 0) @var{process} newdata @var{appropriately} close(tempfile) @@ -16873,7 +16880,7 @@ to be using a temporary file with the same name. @cindex @code{|} (vertical bar), @code{|&} operator (I/O) @cindex vertical bar (@code{|}), @code{|&} I/O operator (I/O) @cindex @command{csh} utility, @code{|&} operator, comparison with -Starting with @value{PVERSION} 3.1 of @command{gawk}, it is possible to +It is possible to open a @emph{two-way} pipe to another process. The second process is termed a @dfn{coprocess}, since it runs in parallel with @command{gawk}. The two-way connection is created using the new @samp{|&} operator @@ -16912,7 +16919,7 @@ standard error separately. @cindex @code{getline} command, deadlock and @item I/O buffering may be a problem. @command{gawk} automatically -flushes all output down the pipe to the child process. +flushes all output down the pipe to the coprocess. However, if the coprocess does not flush its output, @command{gawk} may hang when doing a @code{getline} in order to read the coprocess's results. This could lead to a situation @@ -16967,7 +16974,7 @@ has been read, @command{gawk} terminates the coprocess and exits. As a side note, the assignment @samp{LC_ALL=C} in the @command{sort} command ensures traditional Unix (ASCII) sorting from @command{sort}. -Beginning with @command{gawk} 3.1.2, you may use Pseudo-ttys (ptys) for +You may also use pseudo-ttys (ptys) for two-way communication instead of pipes, if your system supports them. This is done on a per-command basis, by setting a special element in the @code{PROCINFO} array @@ -16975,7 +16982,7 @@ in the @code{PROCINFO} array like so: @example -command = "sort -nr" # command, saved in variable for convenience +command = "sort -nr" # command, save in convenience variable PROCINFO[command, "pty"] = 1 # update PROCINFO print @dots{} |& command # start two-way pipe @dots{} @@ -17001,17 +17008,18 @@ using regular pipes. @cindex files, @code{/inet6/} (@command{gawk}) @cindex @code{EMISTERED} @quotation -@code{EMISTERED}: @i{A host is a host from coast to coast,@* -and no-one can talk to host that's close,@* -unless the host that isn't close@* -is busy hung or dead.} +@code{EMISTERED}: +@ @ @ @ @i{A host is a host from coast to coast,@* +@ @ @ @ and no-one can talk to host that's close,@* +@ @ @ @ unless the host that isn't close@* +@ @ @ @ is busy hung or dead.} @end quotation In addition to being able to open a two-way pipeline to a coprocess on the same system (@pxref{Two-way I/O}), it is possible to make a two-way connection to -another process on another system across an IP networking connection. +another process on another system across an IP network connection. You can think of this as just a @emph{very long} two-way pipeline to a coprocess. @@ -17041,13 +17049,13 @@ respectively. The use of TCP is recommended for most applications. @strong{Caution:} The use of raw sockets is not currently supported. @item local-port -@cindex @code{getservbyname} function (C library) +@cindex @code{getaddrinfo()} function (C library) The local TCP or UDP port number to use. Use a port number of @samp{0} when you want the system to pick a port. This is what you should do when writing a TCP or UDP client. You may also use a well-known service name, such as @samp{smtp} or @samp{http}, in which case @command{gawk} attempts to determine -the predefined port number using the C @code{getservbyname} function. +the predefined port number using the C @code{getaddrinfo()} function. @item remote-host The IP address or fully-qualified domain name of the Internet @@ -17060,7 +17068,8 @@ service name. @end table @quotation NOTE -Failure in opening a two-way socket will result in a non-fatal error being returned to the calling function. +Failure in opening a two-way socket will result in a non-fatal error being returned +to the calling code. The value of @code{ERRNO} indicates the error (@pxref{Auto-set}). @end quotation Consider the following very simple example: @@ -17102,7 +17111,7 @@ extensive examples. @cindex @command{pgawk} program @cindex profiling @command{gawk}, See @command{pgawk} program -Beginning with @value{PVERSION} 3.1 of @command{gawk}, you may produce execution +You may produce execution traces of your @command{awk} programs. This is done with a specially compiled version of @command{gawk}, called @command{pgawk} (``profiling @command{gawk}''). @@ -17122,17 +17131,14 @@ the @option{--profile} option can be used to change the name of the file where @command{pgawk} will write the profile: @example -$ pgawk --profile=myprog.prof -f myprog.awk data1 data2 +pgawk --profile=myprog.prof -f myprog.awk data1 data2 @end example @noindent In the above example, @command{pgawk} places the profile in @file{myprog.prof} instead of in @file{awkprof.out}. -Regular @command{gawk} also accepts this option. When called with just -@option{--profile}, @command{gawk} ``pretty prints'' the program into -@file{awkprof.out}, without any execution counts. You may supply an -option to @option{--profile} to change the @value{FN}. Here is a sample +Here is a sample session showing a simple @command{awk} program, its input data, and the results from running @command{pgawk}. First, the @command{awk} program: @@ -17222,13 +17228,15 @@ programmers sometimes have to work late): @} @end example -This example illustrates many of the basic rules for profiling output. -The rules are as follows: +This example illustrates many of the basic features of profiling output. +They are as follows: @itemize @bullet @item The program is printed in the order @code{BEGIN} rule, -pattern/action rules, @code{END} rule and functions, listed +@code{BEGINFILE} rule, +pattern/action rules, +@code{ENDFILE} rule, @code{END} rule and functions, listed alphabetically. Multiple @code{BEGIN} and @code{END} rules are merged together. @@ -17338,7 +17346,7 @@ infinite loop and you want to see what has been executed. To use this feature, run @command{pgawk} in the background: @example -$ pgawk -f myprog & +$ @kbd{pgawk -f myprog &} [1] 13992 @end example @@ -17351,7 +17359,7 @@ Use the @command{kill} command to send the @code{USR1} signal to @command{pgawk}: @example -$ kill -USR1 13992 +$ @kbd{kill -USR1 13992} @end example @noindent @@ -17380,11 +17388,11 @@ profile file. If you use the @code{HUP} signal instead of the @code{USR1} signal, @command{pgawk} produces the profile and the function call trace and then exits. -@cindex @code{INT} signal (MS-DOS) -@cindex signals, @code{INT}/@code{SIGINT} (MS-DOS) -@cindex @code{QUIT} signal (MS-DOS) -@cindex signals, @code{QUIT}/@code{SIGQUIT} (MS-DOS) -When @command{pgawk} runs on MS-DOS or MS-Windows, it uses the +@cindex @code{INT} signal (MS-Windows) +@cindex signals, @code{INT}/@code{SIGINT} (MS-Windows) +@cindex @code{QUIT} signal (MS-Windows) +@cindex signals, @code{QUIT}/@code{SIGQUIT} (MS-Windows) +When @command{pgawk} runs on MS-Windows systems, it uses the @code{INT} and @code{QUIT} signals for producing the profile and, in the case of the @code{INT} signal, @command{pgawk} exits. This is because these systems don't support the @command{kill} command, so the @@ -17392,6 +17400,10 @@ only signals you can deliver to a program are those generated by the keyboard. The @code{INT} signal is generated by the @kbd{@value{CTL}-@key{C}} or @kbd{@value{CTL}-@key{BREAK}} key, while the @code{QUIT} signal is generated by the @kbd{@value{CTL}-@key{\}} key. + +Finally, regular @command{gawk} also accepts the @option{--profile} option. +When called this way, @command{gawk} ``pretty prints'' the program into +@file{awkprof.out}, without any execution counts. @c ENDOFRANGE advgaw @c ENDOFRANGE gawadv @c ENDOFRANGE pgawk @@ -26294,7 +26306,7 @@ provided the port to BeOS and its documentation. @cindex Peters, Arno Arno Peters did the initial work to convert @command{gawk} to use -GNU Automake and @code{gettext}. +GNU Automake and GNU @code{gettext}. @item @cindex Broder, Alan J.@: @@ -29518,7 +29530,7 @@ and even more often, as ``I/O'' for short. @cindex languages@comma{} data-driven @command{awk} manages the reading of data for you, as well as the breaking it up into records and fields. Your program's job is to -tell @command{awk} what to with the data. You do this by describing +tell @command{awk} what to do with the data. You do this by describing @dfn{patterns} in the data to look for, and @dfn{actions} to execute when those patterns are seen. This @dfn{data-driven} nature of @command{awk} programs usually makes them both easier to write Binary files differ@@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk-3.1.7\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-12-17 16:31+0100\n" "Last-Translator: Marquinos <maacub@gmail.com>\n" "Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n" @@ -981,27 +981,27 @@ msgstr "" "ciclo for: la matriz `%s' camudó de tamañu de %ld a %ld durante la execución " "del ciclu" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "la función `%s' nun ta definida" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' nun puede llamase dende una regla END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' nun puede llamase dende una regla END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2003-05-07 21:13+0100\n" "Last-Translator: Antoni Bella Perez <bella5@teleline.es>\n" "Language-Team: Catalan <ca@dodds.net>\n" @@ -992,27 +992,27 @@ msgstr "" "bucle for: la matriu %s ha canviat de mida de %d a %d durant l'execuci del " "bucle" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "la funci %s no est definida" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "nextfile no es pot cridar des d'una regla FINAL" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "next no es pot cridar des d'una regla FINAL" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2002-11-09 10:09+0100\n" "Last-Translator: Keld Simonsen <keld@dkuug.dk>\n" "Language-Team: Danish <dansk@klid.dk>\n" @@ -985,27 +985,27 @@ msgstr "" "for-lkke: vektoren \"%s\" ndrede strrelse fra %d til %d under lkke-" "udfrelsen" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funktionen \"%s\" er ikke defineret" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "\"nextfile\" kan ikke kaldes fra en END-regel" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "\"next\" kan ikke kaldes fra en END-regel" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.0\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2002-04-03 18:55+02:00\n" "Last-Translator: Christian Kirsch <ck@held.mind.de>\n" "Language-Team: German <de@li.org>\n" @@ -996,27 +996,27 @@ msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" "for-Schleife: Array '%s' ndert Grse von %d zu %d innerhalb der Schleife." -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "Funktion '%s' ist nicht definiert." -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "'nextfile' kann nicht in einer END-Regel benutzt werden." -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "'next' kann nicht in einer END-Regel benutzt werden." -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6d\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-06-24 09:29-0500\n" "Last-Translator: Cristian Othn Martnez Vera <cfuga@itam.mx>\n" "Language-Team: Spanish <es@li.org>\n" @@ -987,27 +987,27 @@ msgstr "" "ciclo for: la matriz `%s' cambi de tamao de %ld a %ld durante la ejecucin " "del ciclo" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "la funcin `%s' no est definida" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' no se puede llamar desde una regla END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' no se puede llamar desde una regla END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.4l\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2005-06-29 08:00-0500\n" "Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n" "Language-Team: French <traduc@traduc.org>\n" @@ -985,27 +985,27 @@ msgstr "" "for loop: tableau %s a chang de taille de %ld %ld durant l'excution " "de la boucle" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "fonction %s non dfinie" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr " nextfile ne peut tre appel depuis une rgle END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr " next ne peut tre appel depuis une rgle END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.5h\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2007-10-01 13:47-0500\n" "Last-Translator: Peadar Guiln <peadarog@oceanfree.net>\n" "Language-Team: Irish <gaeilge-gnulinux@lists.sourceforge.net>\n" @@ -960,27 +960,27 @@ msgstr "nl `break' lasmuigh den lb ceadaithe" msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "lb for: d'athraigh mid an eagair `%s' %ld go %ld i lr na libe" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "feidhm `%s' gan sainmhni" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "n fidir glaoigh ar `nextfile' riail CROCH" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "n fidir glaoigh ar `next' riail CROCH" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" diff --git a/po/gawk.pot b/po/gawk.pot index a975282e..99b3f95e 100644 --- a/po/gawk.pot +++ b/po/gawk.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.76\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -936,27 +936,27 @@ msgstr "" msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "" -#: eval.c:2586 +#: eval.c:2585 #, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "" -#: eval.c:2645 +#: eval.c:2644 #, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.1a\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2002-04-28 21:46+0300\n" "Last-Translator: Eli Zaretskii <eliz@gnu.org>\n" "Language-Team: Hebrew <eliz@gnu.org>\n" @@ -969,27 +969,27 @@ msgstr " `break'- " msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "(`%s' ) %d- %d- :for " -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr " `%s' " -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "END `nextfile'- " -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "END `next'- " -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6e\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-07-11 14:00+0700\n" "Last-Translator: Arif E. Nugroho <arif_endro@yahoo.com>\n" "Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n" @@ -972,27 +972,27 @@ msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" "for loop: array `%s' berubah ukuran dari %ld ke %ld selama eksekusi loop" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "fungsi `%s' tidak didefinisikan" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' tidak dapat dipanggil dari sebuah aturan END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' tidak dapat dipanggil dari sebuah aturan END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.5h\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-06-19 18:20+0100\n" "Last-Translator: Antonio Colombo <azc100@gmail.com>\n" "Language-Team: Italian <it@li.org>\n" @@ -970,27 +970,27 @@ msgstr "" "ciclo for: vettore `%s' ha cambiato dimensione da %ld a %ld durante " "l'esecuzione del ciclo" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funzione `%s' non definita" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' non pu essere chiamato da una regola END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' non pu essere chiamato da una regola END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.4l\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2005-06-27 02:37+1000\n" "Last-Translator: Makoto Hosoya <mhosoya@ozemail.com.au>\n" "Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n" @@ -967,27 +967,27 @@ msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" "for 롼: 롼 `%s' Υ %ld %ld Ѥޤ" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "ؿ `%s' Ƥޤ" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "END 롼뤫 `nextfile' ƤӽФޤ" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "END 롼뤫 `next' ƤӽФޤ" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6e\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-07-05 21:29+0100\n" "Last-Translator: Erwin Poeze <erwin.poeze@gmail.com>\n" "Language-Team: Dutch <vertaling@vrijschrift.org>\n" @@ -970,27 +970,27 @@ msgstr "" "for: array `%s' veranderde van grootte %ld naar %ld tijdens uitvoer van de " "lus" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "functie `%s' is niet gedefinieerd" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' kan niet aangeroepen worden in een END-regel" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' kan niet aangeroepen worden in een END-regel" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6d\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-06-20 13:32+0200\n" "Last-Translator: Wojciech Polak <polak@gnu.org>\n" "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n" @@ -986,27 +986,27 @@ msgstr "" "pętla for: tablica `%s' zmieniła rozmiar z %ld do %ld podczas wykonywania " "pętli" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funkcja `%s' nie została zdefiniowana" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "instrukcja `nextfile' nie może być wywołana z wnętrza reguły END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "instrukcja `next' nie może być wywołana z wnętrza reguły END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo Binary files differindex 7891202f..174b2e83 100644 --- a/po/pt_BR.gmo +++ b/po/pt_BR.gmo diff --git a/po/pt_BR.po b/po/pt_BR.po index 25a254e8..36fd62a5 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.2g\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2003-06-26 16:18+0300\n" "Last-Translator: Juan Carlos Castro y Castro <jcastro@vialink.com.br>\n" "Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n" @@ -973,27 +973,27 @@ msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "" "loop for: vetor `%s' mudou de tamanho de %ld para %ld durante a execuo" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funo `%s' no definida" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' no pode ser chamado de uma regra END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' no pode ser chamado de uma regra END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.31\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2003-09-15 17:48+0300\n" "Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n" "Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n" @@ -993,27 +993,27 @@ msgstr "" "for loop: array-ul `%s' i-a schimbat mrimea din %d n %d n timpul " "execuiei buclei" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funcia `%s' nu este definit" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' nu poate fi apelat dintr-o regul END" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' nu poate fi apelat dintr-o regul END" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.4\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2005-04-04 10:55-0700\n" "Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n" "Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n" @@ -1047,27 +1047,27 @@ msgstr "`Hanze a ni OYA" msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "kugirango Imbonerahamwe Byahinduwe Ingano Bivuye Kuri" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, fuzzy, c-format msgid "function `%s' not defined" msgstr "Umumaro OYA" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`Bivuye" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`Bivuye" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2008-01-16 05:30+0100\n" "Last-Translator: Christer Andersson <klamm@comhem.se>\n" "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" @@ -971,27 +971,27 @@ msgstr "" "forslinga: vektorn \"%s\" ndrade storlek frn %ld till %ld under " "slingexekvering" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "funktionen \"%s\" r inte definierad" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "\"nextfile\" kan inte anropas frn en END-regel" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "\"next\" kan inte anropas frn en END-regel" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.5f\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2007-05-19 19:32+0300\n" "Last-Translator: Nilgün Belma Bugüner <nilgun@buguner.name.tr>\n" "Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n" @@ -965,27 +965,27 @@ msgstr "" "for loop: `%s' dizisinin boyu döngünün yorumlanması sırasında %ld iken %ld " "oldu" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "`%s' işlevi tanımsız" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "`nextfile' bir END kuralından çağrılamaz" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "`next' bir END kuralından çağrılamaz" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2007-11-30 22:29+1030\n" "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" "Language-Team: Vietnamese <vi-VN@googlegroups.com>\n" @@ -981,28 +981,28 @@ msgstr "" "cho loop: (cho vòng lặp) mảng « %s » đã thay đổi kích thước từ %ld đến %ld " "trong khi thực hiện vòng lặp" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "chưa xác định chức năng « %s »" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "" "không thể gọi « nextfile » (tập tin kế tiếp) từ quy tắc « END » kết thúc)" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "không thể gọi « next » (kế tiếp) từ quy tắc « END » kết thúc)" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" diff --git a/po/zh_CN.gmo b/po/zh_CN.gmo Binary files differindex 0628d39d..5b86d25b 100644 --- a/po/zh_CN.gmo +++ b/po/zh_CN.gmo diff --git a/po/zh_CN.po b/po/zh_CN.po index 913b1570..70683228 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gawk 3.1.6c\n" "Report-Msgid-Bugs-To: arnold@skeeve.com\n" -"POT-Creation-Date: 2010-12-01 08:13+0200\n" +"POT-Creation-Date: 2010-12-01 22:01+0200\n" "PO-Revision-Date: 2009-06-09 21:51+0800\n" "Last-Translator: LI Daobing <lidaobing@gmail.com>\n" "Language-Team: Chinese (simplified) <translation-team-zh-cn@lists." @@ -957,27 +957,27 @@ msgstr "“break”在循环外使用是不允许的" msgid "for loop: array `%s' changed size from %ld to %ld during loop execution" msgstr "for loop: 数组“%s”在循环执行时大小从 %ld 改变为 %ld" -#: eval.c:2447 +#: eval.c:2446 #, c-format msgid "function called indirectly through `%s' does not exist" msgstr "" -#: eval.c:2459 +#: eval.c:2458 #, c-format msgid "function `%s' not defined" msgstr "函数“%s”未定义" -#: eval.c:2586 +#: eval.c:2585 #, fuzzy, c-format msgid "`nextfile' cannot be called from a `%s' rule" msgstr "在 END 规则中不允许调用“nextfile”" -#: eval.c:2645 +#: eval.c:2644 #, fuzzy, c-format msgid "`next' cannot be called from a `%s' rule" msgstr "在 END 规则中不允许调用“next”" -#: eval.c:2707 +#: eval.c:2706 #, c-format msgid "Sorry, don't know how to interpret `%s'" msgstr "" |