Using awk in shell script

Microsoft Windows powershell scripting g...
December 15, 2009 at 08:21:19
Specs: Windows Vista
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.

See More: Using awk in shell script

Report •

December 15, 2009 at 16:10:21
show your script. show your output. show anything that will help us to help you.

GNU win32 packages | Gawk

Report •
Related Solutions

Ask Question