aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in9
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