Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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