I have written a arithmetic operation in a file, below is my input. I'm trying to assign the result into a variable by
c=`cat file`
c=`echo cat file`
But is not working, What's the correct way to do it?
cat file
$(($a+$b))
Code Snippet:
a=40.3
b=7.4
c='cat file`