Hi, when I use bash to run the following code, it will assign the value 5 in to the var1.
var1=$(awk '$1>$3{ print "5"}' newfile2)
echo $var1
But when I use this same code in banana or something, it gives me error. Can some one please tell me if there is some other way I can write this code, so I can run it using the C or Korn shell as well.