AwkGuide
** Work in Progress ** {{{ import from Mark Hobley's wiki }}} <toc> ---- == Overview * [[Overview]] . . . * [[case conversion|toupper]] * [[truth]] * [[typecast]]ing * [until loop]s * [[value]]s . . .
4K - last updated 2011-08-14 15:57 UTC by markhobley
comparative operator
The comparative operators are used to determine equality or inequality or otherwise make comparisons . . . numeric or string values, and produce a boolean truth based on the result. A true comparison evaluates . . .
3K - last updated 2013-02-24 17:38 UTC by markhobley
logical operator
In [[awk]], *logical operators* are used to perform [[boolean]] operations, and a return a value of [true] . . . Operator Efficiency]] [[Logic Optimization]] [[truth]] . . .
3K - last updated 2009-01-02 11:13 UTC by pgas
Newline
"print" prints a newline by default. If you don't want a newline, you can use printf instead it is straightforward, . . . a newline by default, but that's not the whole truth, in fact print adds the character in ORS, so . . .
1K - last updated 2011-07-05 10:53 UTC by pgas
PrintingNumbers
Use printf and a format string instead of print, some examples: {{{ awk BEGIN { printf "%f", 1000001.10 . . . as a number in a boolean expression see [[truth]] There is also another conversion that happens . . .
2K - last updated 2009-03-04 12:34 UTC by pgas
regular expression operator
The [[awk]] programming language provides a set of *regular expression operators* that have special meanings . . . expression to the left hand operand and return a truth value depending on whether or not a match was . . .
2K - last updated 2013-02-19 14:06 UTC by markhobley
truth
== Boolean Truth == A **boolean [[expression]]** has only two outcomes: **true** or **false**. In [[awk]], . . .
3K - last updated 2013-02-20 17:34 UTC by markhobley
7 pages found.