|
This chapter presents a library of useful awk functions. The sample programs presented later (see section Practical awk Programs) use these functions. The functions are presented here in a progression from simple to complex.
|
www.apl.jhu.edu/Misc/Unix-info/awk/gawk_16.html
www.apl.jhu.edu/Misc/Unix-info/awk/gawk_16.html
|
|
|
|
Contents:; Conceptual Overview; Command-Line Syntax; Patterns and Procedures; Built-in Variables; Operators; Variables and Array Assignments; User-Defined Functions; Group Listing of awk Functions and Commands; Implementation Limits; Alphabetical Summary of Functions and Commands...
|
oreilly.com/catalog/unixnut3/chapter/ch11.html
|
|
|
Complicated awk programs can often be simplified by defining your own functions. User-defined functions can be called just like built-in ones (see section Function Calls), but it is up to you to define them--to tell awk what they should do.
|
www.chemie.fu-berlin.de/chemnet/use/info/gawk/gawk_14.h...
www.chemie.fu-berlin.de/chemnet/use/info/gawk/gawk_14.html
|
|
This file documents awk, a program that you can use to select particular records in a file and perform operations upon them. ... This is Edition 3 of GAWK: Effective AWK Programming: A User's Guide for GNU Awk, for the 3.1.7 (or later) version of the GNU implementation of AWK. ... Library Functions: A Library of awk Functions.
|
www.gnu.org/software/gawk/manual/html_node/index.html
www.gnu.org/software/gawk/manual/html_node/index.html
|
|
Up: String Functions ... In awk, the ‘*’ operator can match the null string. This is particularly important for the sub, gsub, and gensub functions. For example:
|
www.gnu.org/manual/gawk/html_node/Gory-Details.html
www.gnu.org/manual/gawk/html_node/Gory-Details.html
|
|
section User-Defined Functions, describes how to write your own @command{awk} functions. Writing functions is important, because it allows you to encapsulate algorithms and program tasks in a single place. It simplifies programming, making program development more manageable, and making programs more readable.
|
www.linuxselfhelp.com/gnu/gawk/html_chapter/gawk_14.htm...
www.linuxselfhelp.com/gnu/gawk/html_chapter/gawk_14.html
|
|
The functions in this section look at or change the text of one or more strings. Optional parameters are enclosed in square brackets ([ ]). Those functions that are specific to gawk are marked with a pound sign (`#'): ... Note: In older versions of awk, the length function could be called without any parentheses.
|
www.delorie.com/gnu/docs/gawk/gawk_135.html
www.delorie.com/gnu/docs/gawk/gawk_135.html
|
|
Awk provides us with several built in functions for manipulating numbers and strings. ... A list of these functions and a description of what they do is shown below :- ... Function Name Operation...
|
robert.wsi.edu.pl/awk/tutorial_1f.html
robert.wsi.edu.pl/awk/tutorial_1f.html
|
|
The Inline::Awk module allows you to include awk code in your Perl program. You can call awk functions or entire programs. ... Here is an example of how you would incorporate some awk functions into a Perl program:
|
search.cpan.org/~jmcnamara/Inline-Awk-0.03/Awk.pm
search.cpan.org/~jmcnamara/Inline-Awk-0.03/Awk.pm
|
|