basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") SyntaxError: missing ) after argument list · Issue #677 · gotwarlost/istanbul · GitHub
Sourcing a bash script with dirname command in it crashes Windows Console · Issue #5924 · microsoft/WSL · GitHub
![Sourcing a bash script with dirname command in it crashes Windows Console · Issue #5924 · microsoft/WSL · GitHub Sourcing a bash script with dirname command in it crashes Windows Console · Issue #5924 · microsoft/WSL · GitHub](https://user-images.githubusercontent.com/7049700/93229539-8ed1f400-f72b-11ea-8656-fbb749fbd720.png)