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
Am 15.09.2019 um 22:38 schrieb Eduardo Bustamante:
> On Sun, Sep 15, 2019 at 12:58 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 "inste
On Sun, Sep 15, 2019 at 12:58 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 "instead" in "they are parsed instead" is totally wrong. $1 to $9
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 sur