Closed nopara73 closed 2 years ago
Solved?
Nope
./wcli.sh: line 2: $'\r': command not found
./wcli.sh: line 3: syntax error near unexpected token `$'{\r''
'/wcli.sh: line 3: `function config_extract() {
Sorry, my bad try it now. https://github.com/molnard/WasabiCoinGraph/commit/a7870f824524ce354cfae2a057116a47977bd125
Still not :*(
./wcli.sh: line 2: $'\r': command not found
./wcli.sh: line 3: syntax error near unexpected token `$'{\r''
'/wcli.sh: line 3: `function config_extract() {
The end of the line should be LF. If it is CRLF it will fail like above. I did a fresh clone and it is working for me.
https://www.atechtown.com/notepad-eol-conversion/
TLDR
Go to Edit-> EOL Conversion – > Unix(LF)
Did a fresh clone and this works.