xp_mp.sh[134]: syntax error at line 429 : `}' unexpected
what does 134 mean in this error:
429 is the error line.
xp_mp.sh[134]: syntax error at line 429 : `}' unexpected
what does 134 mean in this error:
429 is the error line.
I tried some thing like this : x.sh is the script name
echo $1
if $1 test !=""
then
echo "testing ... "
}
$ ./x.sh hello
hello
./x.sh[3]: 0403-057 Syntax error at line 8 : `}' is not expected.
Since with 'if' u are starting the scope it is reporting the error at line 3. Any syntax errors belong to that scope report error on line 3 ;
i modified x.sh like this and ran it
echo $1
if $1 test !=""
{
echo "testing ... "
}
$ ./x.sh hello
hello
./x.sh[3]: 0403-057 Syntax error at line 3 : `if' is not matched.
Still the same line at '3' ;