Lines Matching +refs:po +refs:show +refs:source +refs:context

104 @c If "finalout" is commented out, the printed output will show
562 * Extract Program:: Pulling out programs from Texinfo source
680 The best way to get a new @command{awk} was to @command{ftp} the source code for
687 Linux, and you can download binaries or source code for almost
985 as defined in the POSIX standard. It does so in the context of the
1072 program source files.
1112 present the licenses that cover the @command{gawk} source code
1121 A single Texinfo source file is used to produce both the printed and online
1211 source code is always available to the end user. A
1218 The GPL applies to the C language source code for @command{gawk}.
1253 source code for the @value{DOCUMENT} comes with @command{gawk}; anyone
1778 awk -f @var{source-file} @var{input-file1} @var{input-file2} @dots{}
1785 from the file @var{source-file}. Any @value{FN} can be used for
1786 @var{source-file}. For example, you could put the program:
1958 @error{} source line number 1
2193 @file{gawk.texi}, the Texinfo source file for this Info file.
2542 most useful when your @command{awk} program is in a separate source file
2686 of source code than the equivalent @command{awk} programs, but they are
3065 to identify chapter beginnings in Texinfo source files.
3799 kinds of constants is a common source of errors.
3825 @error{} source line number 1
3826 @error{} context is
5750 is likely to be a source for
6896 They may not be used as source files with the @option{-f} option.
7290 Each is used in the appropriate context when you need a data
7415 Octal and hexadecimal source code constants are a @command{gawk} extension.
7690 Strings are converted to numbers and numbers are converted to strings, if the context
7784 point when reading the @command{awk} program source code, and for command-line
8019 > I have not investigated the source, or other implementations. The
8314 @error{} awk: syntax error at source line 1
8315 @error{} context is
8317 @error{} awk: bailing out at source line 1
8720 scanning the source code.
9036 The following examples show function calls with and without arguments:
9211 redirections; the context distinguishes between the two meanings.
9653 yield a null string or zero, depending upon the context. One way
10107 this context but it is not supported in @command{awk}.
10804 marked string constants in the source text, as well as for the
11122 treated as arguments and do show up in the @code{ARGV} array:
12038 @var{populate the array} source
12039 n = asort(source, dest)
12044 In this case, @command{gawk} copies the @code{source} array into the
12046 However, the @code{source} array is not affected.
12056 @{ source[$0] = some_func($0) @}
12059 n = asorti(source, dest)
12353 @item asort(@var{source} @r{[}, @var{dest}@r{]}) #
12357 elements in the array @var{source}. The contents of @var{source} are
12361 of the sorted values of @var{source} are replaced with sequential
12363 then @var{source} is duplicated into @var{dest}. @var{dest} is then
12364 sorted, leaving the indices of @var{source} unchanged.
12394 @item asorti(@var{source} @r{[}, @var{dest}@r{]}) #
12397 elements in the array @var{source}.
13003 (For the sake of simplicity, the rest of the following tables only show the
13494 time data coming from an external source, such as a log file.
14282 > gawk --source '@{ print rev($0, length($0)) @}' -f rev.awk
14604 further source-code changes.
14640 through the source for all of @command{guide}'s components
14654 Messages from the application are extracted from the source code and
14655 collected into a portable object file (@file{guide.po}),
14661 @cindex @code{.po} files
14662 @cindex files, @code{.po}
14666 For each language with a translator, @file{guide.po}
14674 Each language's @file{.po} file is converted into a binary
14714 The tools that extract messages from source code pull out all
14793 All of the above. (Not too useful in the context of @code{gettext}.)
14956 @cindex @code{.po} files
14957 @cindex files, @code{.po}
14961 be extracted to create the initial @file{.po} file.
14965 @command{gawk}'s @option{--gen-po} command-line option extracts
14982 @cindex @code{--gen-po} option
14988 @cindex @code{--gen-po} option
14992 First, use the @option{--gen-po} command-line option to create
14993 the initial @file{.po} file:
14996 $ gawk --gen-po -f guide.awk > guide.po
15000 When run with @option{--gen-po}, @command{gawk} does not execute your
15193 original source:
15208 Run @samp{gawk --gen-po} to create the @file{.po} file:
15211 $ gawk --gen-po -f guide.awk > guide.po
15218 @c file eg/data/guide.po
15235 appear in the @file{guide.po} file.
15244 $ cp guide.po guide-mellow.po
15245 @var{Add translations to} guide-mellow.po @dots{}
15253 @c file eg/data/guide-mellow.po
15277 @cindex @code{.po} files, converting to @code{.mo}
15278 @cindex files, @code{.po}, converting to @code{.mo}
15279 @cindex @code{.mo} files, converting from @code{.po}
15280 @cindex files, @code{.mo}, converting from @code{.po}
15287 @file{.po} file to machine-readable @file{.mo} file.
15293 $ msgfmt guide-mellow.po
15917 The counts next to the statements in the body show how many times
15959 a standard representation. The disadvantage is that all source-code
16056 It then proceeds to cover how @command{gawk} searches for source files,
16152 @item -f @var{source-file}
16153 @itemx --file @var{source-file}
16157 Indicates that the @command{awk} program is to be found in @var{source-file}
16274 @item -W gen-po
16275 @itemx --gen-po
16276 @cindex @code{--gen-po} option
16279 Analyzes the source program and
16427 @item -W source @var{program-text}
16428 @itemx --source @var{program-text}
16429 @cindex @code{--source} option
16430 @cindex source code, mixing
16431 Allows you to mix source code in files with source
16433 Program source code is taken from the @var{program-text}.
16464 If it is, @command{awk} reads its program source from all of the named files, as
16476 (You may also use @samp{-f -} to read program source from the standard
16478 source of data.)
16480 Because it is clumsy using the standard @command{awk} mechanisms to mix source
16482 @option{--source} option. This does not require you to pre-empt the standard
16483 input for your source code; it allows you to easily mix command-line
16484 and library source code
16487 @cindex @code{--source} option
16488 If no @option{-f} or @option{--source} option is specified, then @command{gawk}
16490 program source code.
16600 @cindex search paths, for source files
16633 By using both the @option{--source} and @option{-f} options, your command-line
16659 source files. Once your program is running, all the files have been
16859 presents a program that you can use to extract the source code for
16860 these example library functions and programs from the Texinfo source
16964 show how my own @command{awk} programming style has evolved and to
17256 first source file read by @command{awk}.
20778 * Extract Program:: Pulling out programs from Texinfo source
21492 @cindex Texinfo, extracting programs from source files
21515 A single Texinfo source file can be used to produce both
21534 or @command{awk}. Literal @samp{@@} symbols are represented in Texinfo source
21549 The following program, @file{extract.awk}, reads through a Texinfo source
21563 The example programs in the online Texinfo source for @cite{@value{TITLE}}
21726 sample source file (as has been done here!) without any hassle. The file is
21919 including the ability to have multiple source files specified via
21920 @option{-f}, and the ability to mix command-line and library source files.
21931 @command{awk} source code for later, when the expanded program is run.
21939 Literal text, provided with @option{--source} or @option{--source=}. This
21996 @item --source@r{,} --source=@r{,} -Wsource=
21997 The source text is appended to @code{program}.
22004 If none of the @option{-f}, @option{--file}, @option{-Wfile}, @option{--source},
22074 -[W-]source=*)
22075 t=`expr "$1" : '-.source=\(.*\)'`
22078 -[W-]source)
22330 @cindex search paths, for source files
22332 @cindex source files, search path for
22334 @cindex files, source, search path for
22372 the @command{gawk} source code and this @value{DOCUMENT}, respectively.
22776 for both the source code and at runtime
22822 The @option{--source} option for mixing command-line and library-file
22823 source code
22921 program source code
22988 The @option{--gen-po} command-line option and the use of a leading
23029 The source code now uses new-style function definitions, with
23248 @cindex source code, @command{gawk}
23263 @cindex @command{gawk}, source code, obtaining
23342 The @command{gawk} distribution has a number of C source files,
23351 The actual @command{gawk} source code.
23364 A detailed list of source code changes as bugs are fixed or improvements made.
23400 The @command{troff} source for a five-color @command{awk} reference card.
23406 The @command{troff} source for a manual page describing @command{gawk}.
23411 The Texinfo source file for this @value{DOCUMENT}.
23419 The Texinfo source file for
23434 The @command{troff} source for a manual page describing the @command{igawk}
23463 @itemx po/*
23465 @command{gawk}'s internationalization features, while the @file{po} library
23475 source file for this @value{DOCUMENT}. It also contains a @file{Makefile.in} file, which
23665 The source code for @command{gawk} generally attempts to adhere to formal
24150 gawk -v RS="\r\n" --source "BEGIN @{ BINMODE = 1 @}" @dots{}
24211 also a @file{Makefile} for use with the @code{MMS} utility. From the source
24333 @cindex search paths, for source files
24345 be made available in a help library. The source tree should be unpacked
24421 sources, as some source files (@file{regex.c} in particular) are quite
24432 corresponding files in the main source directory. Even if
24436 Some @command{gawk} source code fragments depend on a preprocessor define
24521 To build a Tandem executable from source, download all of the files so
24526 distribution) and should be copied to the main source directory before
24554 @c the radio show, not the book. :-)
24698 @cindex source code, Bell Laboratories @command{awk}
24727 @cindex source code, @command{mawk}
24793 @cindex source code, @command{awka}
24876 free software; the source code is available and you are free to change
25028 after the @samp{@@bye} at the end of the Texinfo source file.
25034 Submit changes as context diffs or unified diffs.
25036 the original @command{gawk} source tree with your version.
25037 (I find context diffs to be more readable but unified diffs are
25046 master version of the @command{gawk} source code (using @code{patch}).
25118 the main source directory includes the appropriate
25131 Supply a @file{Makefile} as well as any other C source and header files that are
25136 of the subdirectory into the main source directory. If that is not
25138 duplicate the names of files in the main source directory.
25210 spend some time reading the source code before trying to write
25961 source code easier to work with:
26472 what the default string representations show.
26735 A program that translates human-readable source code into
26891 This document describes the terms under which @command{gawk} and its source
26915 The Linux kernel source code is available under the terms of the GNU General
26943 further source code changes.
26947 A program that reads human-readable source code directly, and uses
26995 and their source code may be distributed.
27131 In @command{gawk}, a list of directories to search for @command{awk} program source files.
27213 versions of Unix, as well as several work-alike systems whose source code
27255 this service if you wish), that you receive source code or can get it
27267 source code. And you must show them these terms so they know their
27319 source code as you receive it, in any medium, provided that you
27387 source code, which must be distributed under the terms of Sections
27393 cost of physically performing source distribution, a complete
27394 machine-readable copy of the corresponding source code, to be
27400 to distribute corresponding source code. (This alternative is
27406 The source code for a work means the preferred form of the work for
27407 making modifications to it. For an executable work, complete source
27408 code means all the source code for all modules it contains, plus any
27411 special exception, the source code distributed need not include
27412 anything that is normally distributed (in either source or binary
27419 access to copy the source code from the same place counts as
27420 distribution of the source code, even though third parties are not
27421 compelled to copy the source along with the object code.
27564 to attach them to the start of each source file to most effectively
27595 type `show w'. This is free software, and you are welcome
27596 to redistribute it under certain conditions; type `show c'
27600 The hypothetical commands @samp{show w} and @samp{show c} should show
27602 commands you use may be called something other than @samp{show w} and
27603 @samp{show c}; they could even be mouse-clicks or menu items---whatever
28153 Don't show the awk command with a program in quotes when it's
28165 Do show it when showing command-line arguments, data files, etc, even
28168 Use numbered lists only to show a sequential series of steps.