AllAboutGetline
//Editor's notes: The article was originally posted on the comp.lang.awk newsgroup, and can still be . . . of the author), so in the article you will find comments about "good" or "correct" and "bad" or "wrong" . . .
16K - last updated 2009-02-15 22:14 UTC by waldner
awk1page
an awk program is a series of //pattern { actions }// statements;\\ ie if the input line matchs pattern . . . $2 the second ...\\ and $0 is the whole line. Comments can follow the # symbol. {{{awk # print those . . .
2K - last updated 2012-03-18 22:22 UTC by g0pher
awk 2012 ISO
**[[awk_2012_ISO]]** revised: . . . or send nominations/comments to: [[http://www.iso.org/dev/null/|iso.org]]\\ . . .
4K - last updated 2012-09-16 03:39 UTC by g0ph3r
AwkDc
This is an awk implementation of the [http://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html|dc] . . . '+' to operate on strings? # FIXME: the above comment is stupid, and # the person who wrote it should . . .
12K - last updated 2008-07-17 14:47 UTC by gnomon
AwkGuide
** Work in Progress ** {{{ import from Mark Hobley's wiki }}} <toc> ---- == Overview * [[Overview]] . . . * [[command]]s * [[command line parameter]]s * [[comment]]s * [[comparative operator]]s * [[compound . . .
4K - last updated 2011-08-14 15:57 UTC by markhobley
AwkTips
<toc> ---- == Be idiomatic! In this paragraph, we give some hints on how to write more idiomatic . . . This can be done with the following . . .
31K - last updated 2009-03-24 16:54 UTC by waldner
CAWKLib
=CAWKLib CAWKlib is a library of functions for for awk intended to be used with preprocessors/wrappers . . . ==How do I make suggestions/comments/bug reports Send email to me at gcw (at) Not . . .
5K - last updated 2015-01-29 10:14 UTC by 108-243-116-77.lightspeed.cicril.sbcglobal.net
comment
Comments are pieces of text or [[whitespace]] that can be included in a program to make the code more . . . understandable to a programmer. Comments have no effect on the running program and . . . ignored by the [[awk]] interpreter. In [[awk]], comments can be inserted by prefixing them with a [[hash]] . . . the end of the line: {{{ # This whole line is a comment and is ignored by the awk interpreter print . . . 'Hello!' # Comments after a hash sign are ignored }}} . . .
1K - last updated 2009-07-15 17:07 UTC by MarkHobley
continuation
Line continuation enables long lines of code to split across several lines for the purpose of making . . . place to split a line /foobar / \ { print $1 } # Comments cannot be split with a backslash symbol \ . . . # because the backlash is treated as part of the comment }}} . . .
1K - last updated 2011-05-09 22:48 UTC by markhobley
FindAllMatches
This bit of code will match all non-overlapping instances of a given pattern in a string and will store . . . array; if you want to do so, you need to uncomment the relevant code and modify the argument list . . .
2K - last updated 2009-03-24 09:46 UTC by waldner
GeneralizedTextReplacement
Some times people need to recode in awk something they were previously doing with sed or another tool. . . . can do virtually anything # you want here. Some commented examples follow rep[i]=toupper(mtch[i]) # . . .
6K - last updated 2009-03-26 20:38 UTC by waldner
hash
== Prefixing comments == The hash symbol can be used as a prefix for inserting comments within an [[awk]] . . . script: {{{ # This whole line is a comment and is ignored by the awk interpreter print . . . 'Hello!' # Comments after a hash sign are ignored }}} . . .
1K - last updated 2010-11-08 22:37 UTC by markhobley
Hello World in awk
This example program outputs the words "hello world" to the terminal: {{{ awk # Hello World BEGIN { print . . . program consists of the following elements: === Comment Block In [[awk]], [[comment]]s are inserted . . . them with a [[crosshatch]] symbol. Any [[comment]]s are ignored by the [[awk]] interpreter, . . . end of the line: {{{ awk # This whole line is a comment and is ignored by the awk interpreter print . . . 'Hello' # Comments after a hash sign are ignored }}} === Begin . . .
2K - last updated 2010-11-11 19:16 UTC by markhobley
LevenshteinEditDistance
The [http://en.wikipedia.org/wiki/Levenshtein_distance|Levenshtein edit distance] calculation is useful . . . the code. ---- === The Algorithm {{{ awk # commentary elided for now pending feedback function . . .
6K - last updated 2010-04-16 10:19 UTC by pgas
Overview
= Overview of awk = == The primarily purpose of awk is to processing textual data to produce formatted . . . may contain the following components: * [[comment]]s * [[rule]]s * [[function]] definitions * . . .
4K - last updated 2011-05-23 23:09 UTC by markhobley
StyleSheet
body { background-color:#FFF; color:#000; margin:1em 2em; } textarea { width:100%; } a:link { color:#00F; . . . span.crumbs { font-size: smaller; } /* dynamic comments */ div.commenthidden { display:none; } div.commentshown . . . 1ex; border:#999 1px solid; } div.footer, div.comment { clear: both; } div.portrait { float: left; . . .
5K - last updated 2008-06-19 16:46 UTC by pgas
symbol
| *Symbol* | *Name* | *Purpose* | !! | [[pling]] | logical NOT | " | [[doublequote]] | | # | [[hash]] . . . | prefixes comments | $ | [[dollar]] | field reference operator . . .
2K - last updated 2013-02-19 14:26 UTC by markhobley
text.2.wiki.awk
#: C:\#\awk\lib\text.2.wiki.awk\\ . . . \\\\\ \\ #: Comments: . . .
11K - last updated 2012-09-24 14:55 UTC by g0ph3r
text 2 wiki.awk
{{{ #: C:\#\lib\awk\utl\text_2_wiki.awk #: 2012-09-15 23:40:11 #:rod.t_2012 #: This file is http://awk.freeshell.org/text_2_wiki.awk . . . print(t) | "%u%gclip.exe"; } ## _____ #: Comments: 2012-09-09 15:46:51 #: paradigm: A, B.. arrays; . . .
2K - last updated 2012-09-16 09:12 UTC by g0ph3r
WartAndWishList
Awk is a wonderful language! That said, there are a few annoying bits... == The Good * well-documented . . . their arrays at the beginning. One must use comments for the purpose instead (but look at {{{split("", . . .
7K - last updated 2009-04-13 18:39 UTC by goedel
20 pages found.