On 9/15/19 3:57 PM, Roland Illig wrote:
> The help text of getopts says:
>
>> Getopts normally parses the positional parameters ($0 - $9), but if
>> more arguments are given, they are parsed instead.
>
> The positional parameter $0 (is it even called that way) is not parsed
> by getopts. Its only use might be in error messages, but I'm not sure
> about it.
You're right; getopts doesn't use $0 at this time.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/