help-bash
[Top][All Lists]
Advanced

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

[Help-bash] Bash script supporting complex options like GNU find


From: Peng Yu
Subject: [Help-bash] Bash script supporting complex options like GNU find
Date: Sat, 10 Feb 2018 11:42:53 -0600

Hi,

I currently use getopt to support -s --long like options in bash scripts.

https://github.com/karelzak/util-linux/blob/master/misc-utils/getopt-parse.bash

But this solution does not support complex expressions made of '-a'
'-o'  '!' '(' and ')' as in defined in GNU find.

Does anybody know a solution that can make a bash script support these
complex expressions?

-- 
Regards,
Peng



reply via email to

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