[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling getopt for option without optional argument value
From: |
Greg Wooledge |
Subject: |
Re: Handling getopt for option without optional argument value |
Date: |
Fri, 23 Jul 2021 11:03:44 -0400 |
On Fri, Jul 23, 2021 at 04:22:04PM +0200, lisa-asket@perso.be wrote:
> opts=$(getopt -o "$shortopts" -l "$longopts" -n "${0##*/}" -- "$@")
Fail. Never use getopt! It's broken by design.
https://mywiki.wooledge.org/BashFAQ/035
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value,
Greg Wooledge <=
- Re: Handling getopt for option without optional argument value, Alex fxmbsw7 Ratchev, 2021/07/23
- Re: Handling getopt for option without optional argument value, Greg Wooledge, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Dennis Williamson, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Greg Wooledge, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23