/etc/netstart argument handling

2021-04-30 Thread Tilo Stritzky
/etc/netstart contains the following getopts handler: while getopts ":n" opt; do That colon is just totally bogus, isn't it? tilo Index: netstart === RCS file: /cvs/src/etc/netstart,v retrieving revision 1.211 diff -u -p -r1.211

Re: /etc/netstart argument handling

2021-05-01 Thread Andreas Kusalananda Kähäri
On Fri, Apr 30, 2021 at 09:17:47PM +0200, Tilo Stritzky wrote: > > /etc/netstart contains the following getopts handler: > > while getopts ":n" opt; do > > That colon is just totally bogus, isn't it? The colon at the start of the optstring has the effect that makes the getopts utility silent w

Re: /etc/netstart argument handling

2021-05-01 Thread Tilo Stritzky
On 01/05/21 11:09 Andreas Kusalananda K�h�ri wrote: > On Fri, Apr 30, 2021 at 09:17:47PM +0200, Tilo Stritzky wrote: > > > > /etc/netstart contains the following getopts handler: > > > > while getopts ":n" opt; do > > > > That colon is just totally bogus, isn't it? > > The colon at the start of th