help-bash
[Top][All Lists]
Advanced

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

Re: Adding option to select file types


From: Greg Wooledge
Subject: Re: Adding option to select file types
Date: Mon, 5 Jul 2021 18:58:59 -0400

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



reply via email to

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