You are right, the statement below is giving the error as you mentioned: 1. Instead of abc="mv -f /original path" || strip (_infile_) || "/new path"; it should be abc=mv -f "/original path" || strip (_infile_) || "/new path"; The statement: abc=mv -f "/original path" || strip (_infile_) || "/new path"; would have a syntax error as it would first attempt to subtract the value of a numeric variable f from a numeric variable mv (not a problem unless you actually have those variables) but without an operation the "/original path" will generate an error like: ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, (, *, **, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, LE, LT, MAX, MIN, NE, NG, NL, OR, [, ^=, {, |, ||, ~=. What should be the correct syntax for this line of code?
... View more