AllAboutGetline
//Editor's notes: The article was originally posted on the comp.lang.awk newsgroup, and can still be . . . < dir "/" file }}} is ambiguous because the concatenation operator is not parenthesized. You should . . .
16K - last updated 2009-02-15 22:14 UTC by waldner
AwkGuide
** Work in Progress ** {{{ import from Mark Hobley's wiki }}} <toc> ---- == Overview * [[Overview]] . . . * [[compound assignment operator]]s * [[concatenation]] * conditional [[branch]]es * [[conditional . . .
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 . . . in an IPv4 address). That's why we need the "" concatenation in the above example. ---- == Check whether . . . tell it exactly what we want. We can use string concatenation and append an empty string to the variable . . .
31K - last updated 2009-03-24 16:54 UTC by waldner
comp.lang.awk FAQ
This material of this faq originates from the comp.lang.awk FAQ that you can find there: * http://www.faqs.org/faqs/computer-lang/awk/faq/ . . . print 6 " " -22 }' lose the space? <include "ConcatenationPrecedence"> [[http://awk.freeshell.org/?action=edit;id=ConcatenationPrecedence| . . .
8K - last updated 2009-03-04 12:42 UTC by pgas
concatenation
== The awk programming language does not have an explicit concatenation operator == The awk programming . . . language does not have an explicit concatenation operator. Concatenation of [[string]]s . . . will be concatenated as strings === Note that concatenation of [[numeric]] values will occur if [[whitespace]] . . . print 2 3 4 } }}} === Precedence === Note that [[concatenation]] has a lower [[precedence]] than [[addition]], . . .
1K - last updated 2011-06-25 05:13 UTC by pgas
ConcatenationPrecedence
You'd expect `6 -22', but you get `6-22'. It's because the `" " -22' is grouped first, as a substraction . . . instead of a concatenation, resulting in the numeric value `-22'; . . .
1K - last updated 2008-12-15 12:37 UTC by pgas
MostrarApostrofos-espaƱol
Esta pregunta es tan frecuente que merece su propia respuesta. Y aunque pareciera que esto es una limitación . . . its own variable and then using explicit string concatenation: {{{ awk 'BEGIN{q="\047";print q"foo!"q}' . . .
4K - last updated 2009-01-15 20:03 UTC by fcr
operator
The [[awk]] programming language provides a series of *operators* that allow [[value]]s and [[variable]]s . . . functions are available as [[gawkism]]s * [[concatenation]] operators * [[exponent]] operator is . . .
3K - last updated 2011-05-24 22:19 UTC by markhobley
PrintASingleQuote
This question gets asked often enough that it deserves its own answer. This common question doesn't actually . . . pretend we didn't mention it. ==== Explicit Concatenation (oh my!) There is also the old fallback . . . its own variable and then using explicit string concatenation: {{{ awk 'BEGIN{q="\047";print q"foo!"q}' . . .
5K - last updated 2015-07-05 09:45 UTC by pitman
PrintfDynamicWidth
With modern awks, you can just do it like you would in C (though the justification is less clear; C doesn't . . . have the trivial in-line string concatenation that awk does), like so: {{{ awk maxlen=0 . . .
1K - last updated 2008-11-24 08:26 UTC by pgas
PrintfDynamicWidthJapanese
With modern awks, you can just do it like you would in C (though the justification is less clear; C doesn't . . . have the trivial in-line string concatenation that awk does), like so: {{{ awk maxlen=0 . . .
1K - last updated 2008-11-24 08:36 UTC by pgas
SedFAQ
<toc> ---- == I have a line like "abdcgfjeuPATTERNfjfhghj", I want to get the PATTERN part, why . . . the line in two parts P1 and P2 such that the concatenation of P1 and P2 yields the original line . . .
34K - last updated 2010-02-14 17:56 UTC by waldner
variable
A '''variable''' is a symbolic name associated with a [[value]]. A variable acts as a container and the . . . from string constants and variables, using [[concatenation]]: {{{ awk # print the concatenation . . .
3K - last updated 2012-04-22 11:42 UTC by unregistered
13 pages found.