|
nawk syntax error
I have following problem! If i trie to execute this command:
nawk '{system("/opt/EMCpower/bin/emcpadm renamepseudo -f d -s "$1" -t "$2")}' ${filestart}$1${fileend}
where ${filestart}$1${fileend} is a filename and $1 and $2 is the first and second column of the file! I get the following error message if i execute it in my script:
nawk: syntax error at source line 1
context is
{system("/opt/EMCpower/bin/emcpadm renamepseudo -f d -s "$1" -t >>> "$2")} <<<
nawk: illegal statement at source line 1
missing }
missing )
can someone help me?
|