sh script trying to build a Open GTS Server. In a text editor such as Textpad, choose " Save As", and under the filename you can choose " Line Ending". Here, save it as " UNIX", and the file. do find / - atime - 6 lauf= expr $ lauf+ 1 done. Fehler: syntax error near unexpected token ` done' kann mir da wer weiter helfen? wäre echt super! 问题描述 运行shell脚本shell脚本, 运行出错: syntax error near unexp. 转移到 unix上会出现syntax error near unexpected token ` $ ' do\ r” 的原因。. c: line 5: syntax error near unexpected token ` ( '. c: line 5: ` void * printMessage( void * thread_ id ) ; ' here are the first few lines of the code. Syntax Error Near Unexpected Token. When running a UNIX script ( for example acuxdcbs. sh) the user may encounter the “ syntax error near unexpected token”. Bash Error: syntax error near unexpected token ` {.
line in processLine( ) function processLine $ line done exec 0< & 3 # restore $ IFS which was.