diff options
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 1d7ee3f4..f27d3018 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -4407,6 +4407,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 |