diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-08-11 15:09:11 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-08-11 15:09:11 +0300 |
commit | 631c60699f26dc12f614998b646ab3f213e2a847 (patch) | |
tree | a606c6128b190ea5a9ccfa0b45b06e522fe531fc /doc/gawktexi.in | |
parent | 41248c3bce84484cfb85e70997e63e674c8c6aea (diff) | |
download | egawk-631c60699f26dc12f614998b646ab3f213e2a847.tar.gz egawk-631c60699f26dc12f614998b646ab3f213e2a847.tar.bz2 egawk-631c60699f26dc12f614998b646ab3f213e2a847.zip |
Doc update, use ./count=1 to name files instead of var assignments.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 44927575..03f58c3c 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -4317,6 +4317,15 @@ file at all. (See @ref{Assignment Options}.) In the following example, awk -f program.awk file1 count=1 file2 @end example +@noindent +As a side point, should you really need to have @command{awk} +process a file named @file{count=1} (or any file whose name looks like +a variable assignment), precede the file name with @samp{./}, like so: + +@example +awk -f program.awk file1 ./count=1 file2 +@end example + @cindex @command{gawk}, @code{ARGIND} variable in @cindex @code{ARGIND} variable, command-line arguments @cindex @code{ARGV} array, indexing into |