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