superstarjpmc
Programmer
I have problems in executing the following script, this is part of a shell script (ksh). It runs fine in 'sh' but not under ksh.
The command 'finder' accepts the following as parameters
--> para1 -s "$4" -e "$2" -p "$3"
awk ' {
system("$MY_HOME/bin/finder para1 -s "$4" -e "$2" -p "$3" ")
}' < /etc/mnladm
File contents : /etc/mnladm contents are as below
FIRST-PARAM SECONDP THIRDPARA 1000
FIRST-PARAM SECONDP THIRDPARA 1001
FIRST-PARAM SECONDP THIRDPARA 1002
note:
There is no error while running this, but i expect output and not output is fetched.
Any help much appreciated
The command 'finder' accepts the following as parameters
--> para1 -s "$4" -e "$2" -p "$3"
awk ' {
system("$MY_HOME/bin/finder para1 -s "$4" -e "$2" -p "$3" ")
}' < /etc/mnladm
File contents : /etc/mnladm contents are as below
FIRST-PARAM SECONDP THIRDPARA 1000
FIRST-PARAM SECONDP THIRDPARA 1001
FIRST-PARAM SECONDP THIRDPARA 1002
note:
There is no error while running this, but i expect output and not output is fetched.
Any help much appreciated