Page 1 of 1

syntax error near unexpected token `newline`

PostPosted: 03 Apr 2022, 05:05
by Felix
Hello,

after an update with "pacman -Syyu" via ssh, and the update via the GUI, I get errors similar to the following when running all other addons.

Code: Select all
curl -skLO https://github.com/rern/rAudio-addons/raw//webradio/install.sh
chmod 755 install.sh
./install.sh fran Add
./install.sh: line 7: syntax error near unexpected token `newline'


Can anyone tell me a simple workaround?


Version: rAudio 1 • 202203271
Kernel: 5.15.32-3 • aarch64
Hardware: Raspberry Pi 4B Rev 1.2
SoC: BCM2711 • 1.8GiB
CPU: 4 x Cortex-A72 @ 1.5 GHz

Re: syntax error near unexpected token `newline`

PostPosted: 02 Nov 2022, 06:51
by Rachel Gomez
If a syntax error appears, check to make sure that the parentheses are matched up correctly. If one end is missing or lined up incorrectly, then type in the correction and check to make sure that the code can be compiled. Keeping the code as organized as possible also helps.

Greeting,
Rachel Gomez

Re: syntax error near unexpected token `newline`

PostPosted: 15 Nov 2023, 03:56
by lioeniate
Rachel Gomez wrote:If a syntax error appears, check to make sure that the parentheses are matched up correctly. Geometry Dash If one end is missing or lined up incorrectly, then type in the correction and check to make sure that the code can be compiled. Keeping the code as organized as possible also helps.

Greeting,
Rachel Gomez

Encountering a syntax error near unexpected token 'newline' can be a perplexing experience for programmers and developers. This error message is commonly associated with shell scripting or programming languages that rely on a shell environment. Let's delve into the causes, implications, and potential solutions for this issue.