aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:36:37 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:36:37 +0200
commit15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7 (patch)
treeef4d017b04e45f934ca2130e622262aa952e62a3 /doc/gawk.texi
parent2e14bf32d257e86fb4db379211c1f86af2b23165 (diff)
downloadegawk-15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7.tar.gz
egawk-15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7.tar.bz2
egawk-15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7.zip
Some minor style edits in code and doc.
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.