I have executed a stored procedure from a shell script.
The stored procedure returns 7 values from it.
When i try to capture these values using awk $NF - 6, $NF-5 , i am facing issues.
I echoed the variable in which i am gettng the return value - it shows (expression) 1 (expression) 2 (expression) 3. This means before each return value it is adding the (expression).
Why is this happening , I am not sure.
How to handle this thing? Because if i made my stored procedure to return 5 values then the variable in which i a capturing return values shows (expression)(expression)expression)expression)expression)1 0 9 6 7.