idank / explainshell

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

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

Open RealYukiSan opened 10 months ago

RealYukiSan commented 10 months 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