Command-line arguments: Difference between revisions
Content added Content deleted
({{header|AWK}}) |
|||
Line 53: | Line 53: | ||
the argument #7 is ... |
the argument #7 is ... |
||
</pre> |
</pre> |
||
=={{header|AWK}}== |
|||
<lang awk>#!/usr/bin/awk -f |
|||
BEGIN { |
|||
print "There are " ARGC "command line parameters" |
|||
for(l=1; l<ARGC; l++) { |
|||
print "Argument " l " is " ARGV[l] |
|||
} |
|||
}</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |