Anonymous user
Parse command-line arguments: Difference between revisions
cut off first element to really get name *after* -f argument (alternatively: increase index)
(Add the Perl version.) |
(cut off first element to really get name *after* -f argument (alternatively: increase index)) |
||
Line 143:
:Or, find the name of an optional file:
::<lang j> (ARGV i.<'-f') {:: }.ARGV,a:</lang>
::This is the name of the first file named after the first -f argument, or empty if there was no such file.
|