CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   /bin/sh: -c: line 0: syntax error near unexpected token `(' (https://www.cfd-online.com/Forums/main/239116-bin-sh-c-line-0-syntax-error-near-unexpected-token.html)

ulugbey October 21, 2021 08:04

/bin/sh: -c: line 0: syntax error near unexpected token `('
 
1 Attachment(s)
Hi,

I am compiling a custom specificheat application in Openfoam 2.1. When I compile, it complains as follows
Attachment 86762

Sorry for the small picture. I couldn't enlarge the picture. If you click on the picture, you will see the error.
Do you know how to access /bin/sh adress?
Thanks in advance

LuckyTran October 21, 2021 08:25

you probably forgot to set your hashbang or something like that

ulugbey October 21, 2021 08:32

Hi,
Thanks for the reply. Where should I put hashbang?

ulugbey October 21, 2021 12:00

Could you please help me where I should put hashbang? I cant understand from the error where the problem lies..


All times are GMT -4. The time now is 14:29.