help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting variable with getopts


From: hancooper
Subject: Setting variable with getopts
Date: Mon, 09 Aug 2021 16:02:31 +0000

‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, August 9, 2021 4:00 PM, hancooper <hancooper@protonmail.com> wrote:

>> Add
>> local OPTIND
>> at the top of your function.

It is peculiar to me that I do not need to define
local OPTARG
as well

reply via email to

[Prev in Thread] Current Thread [Next in Thread]