From: Greg Wooledge <greg@wooledge.org>
To: help-bash@gnu.org
Subject: Re: Adding option to select file types
Date: 06/07/2021 00:58:59 Europe/Paris
On Tue, Jul 06, 2021 at 12:49:22AM +0200, lisa-asket@perso.be wrote:
> For the options I have done the following. Do you like it?
>
> Â opts=$(getopt -o "$shortopts" -l "$longopts" -n "$(basename $0)" -- "$@")
No. getopt(1) is pure evil.
https://mywiki.wooledge.org/BashFAQ/035
I am evil myself, so it's fine. Could Gnu Bash improve on getopt and make it
the way
gnu likes it done?