• Home
  • Map
  • Email: mail@besthelp.duckdns.org

Syntax error done is not expected

arr= ( $ ( $ { ORACLE_ HOME} / bin/ sqlplus - s " $ { < < EOF set heading off select distinct name from. bash$ / bin/ ksh getShortInfo. sh[ 10] : syntax error at line 26 : ` ( ' unexpected. It visualise on the screen the success or not of the platform' specific commands which are executed for gathering platform specific information. if [ $ OUT – ne 0 ] ; then exitStatusDescription " $ OUT" " $ { COMMANDS[ $ command] } " fi command= $ ( ( command+ 1) ) done } printHeadFormatInfo( ) {. while read uname password gname fullname do. the script is supposed to take a file name argument that specifies the users, but the cat takes a fixed file name, not the file name argument! Similarly, arguments 2 and 3 are. The reason it' s failing with this error is the interpolation of $ ( seq 1 $ k) inside your fanout command. fanout server1 ' umask 022 ; for k in 1 2 ; do for i in ear2 ; do echo / appl/ as/ bin/ md5 / appl/ as/ var/ spool/ ears/ abc/ ; done ; done'. Syntax error at line 21 : ` fi' is not expected · Ask Question. I' m voting to close this question as off- topic because it does not indicate that you invested time & effort to solve the problem yourself.

  • Fatal error uncaught exception phpexcel reader exception with message the filename
  • Pantalla azul error system service exception
  • 2d error correction code
  • Fatal error queue h no such file or directory
  • Php fatal error unknown failed opening required var www html

  • Video:Syntax expected done

    Syntax expected error

    Your error message is from dash, probably because you ran sh filename. To run a script with bash, use bash filename ( or. sh: line 8: syntax error: unexpected end of file. If you get that error, you may. I' m not really sure why this only gives the one error message, but I think it has to do with the function definition: #! It' s not specified which shell is interpereting this script. From error code I assume it' s ksh. From the error message, I presume that the problem is that after then, else, do, ksh does not accept a ;. However, just out of curiosity,. Hi, While executing my code i am getting below Error: pre { overflow: scroll; margin: 2px; padding: 15px;. / check_ disk1[ 55] : Syntax error at line 55 : ` ( ' is not expected. ksh: Syntax error: ` done' is not expected.

    karnatis, Shell Programming and Scripting, 2, : 43 PM. Hi I am getting error ' ksh: Syntax error: ` done' is not expected. ' when running below script any one can provide inputs on this. pre { overflow: scroll; margin: 2px; pa.