aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:38:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:38:48 +0200
commit389a62c56e6a09a5e3348aa46b52288a533c653e (patch)
tree3ce0524a160c0b8bef3296f0e704bb85a0b1352a /doc/gawk.texi
parent2981962139f8a726f5568d8ab1004e078214cea3 (diff)
parent15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7 (diff)
downloadegawk-389a62c56e6a09a5e3348aa46b52288a533c653e.tar.gz
egawk-389a62c56e6a09a5e3348aa46b52288a533c653e.tar.bz2
egawk-389a62c56e6a09a5e3348aa46b52288a533c653e.zip
Merge branch 'xgawk' into xgawk-build
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index c3375ce8..eaad54d2 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -3883,19 +3883,20 @@ suffix to the filename. For example, on GNU/Linux systems, the suffix
@samp{.so} is used.
@example
-$ @kbd{awk '@@load "ordchr"; BEGIN @{print chr(65)@}'}
-A
+$ @kbd{gawk '@@load "ordchr"; BEGIN @{print chr(65)@}'}
+@print{} A
@end example
@noindent
This is equivalent to the following example:
@example
-$ @kbd{awk -lordchr 'BEGIN @{print chr(65)@}'}
-A
+$ @kbd{gawk -lordchr 'BEGIN @{print chr(65)@}'}
+@print{} A
@end example
-@noindent For command-line usage, the @option{-l} option is more convenient,
+@noindent
+For command-line usage, the @option{-l} option is more convenient,
but @samp{@@load} is useful for embedding inside an @command{awk} source file
that requires access to a shared library.