idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
13.29k stars 794 forks source link

the parser doesn't support 'pattern' constructs in the command you tried. #318

Open realyukii opened 1 year ago

realyukii commented 1 year ago

while entering:

case "${BASH_SOURCE:-$0}" in
  */*) dir=${1%/*}; [ -z $dir ] && echo "/" || echo $dir ;;
  *) echo "." ;;
esac

it outputs: the parser doesn't support 'pattern' constructs in the command you tried.

So, as the output says, I report it.

thank you