Skip to content

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

@realyukii

Description

@realyukii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions