I have a requirement where I am running a script and invoking a
java program which will return a
string (filename).
This returned value must be assigned to a local variable using which i have to find diff between two files.
saving output in a local file and then cat the file and assign it to variable is also not working.
below mentioned method is also not working:
please give a solution
ps: I am running the shell script on solaris OS.