Skip to content

Bash (macOS) when "Open with" Terminal from Finder #15

Open
@dapgo

Description

@dapgo

There is an incoherent behavior among the different ways to execute the script:

  • sh menu.sh from terminal
  • bash menu.sh from terminal
  • ./menu.sh from terminal

and

  • Finder "Open with" Terminal

Script starts with the Shebang/hashpling #!/bin/bash

In brief, in the the second case, the sentence declare -A produces an error whereas there is not error when using other methods

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions