Search Results

Search: Posts Made By: vedavrath
11,543
Posted By vedavrath
I'm stuck here. I could extract the text till: ...
I'm stuck here. I could extract the text till:
Test Error Message PLUSVAR 1
with the below command
echo ${SHELL_VAR} | awk -F"-*" '{print $(NF-1), $NF}'

But i want the Exact text Test Error...
11,543
Posted By vedavrath
Please post the exact answer as i'm really new to...
Please post the exact answer as i'm really new to shell scripting and unable to get the answer.

My requirement is to extract 'Test Error Message' from the below text and assign it to a variable....
11,543
Posted By vedavrath
Thank you for the replies. But i need to extract...
Thank you for the replies. But i need to extract Test Error Message from:
PL/SQL procedure successfully completed. ERROR ----------------------------------------------------------------- Test Error...
11,543
Posted By vedavrath
SHELL_VAR="PL/SQL procedure successfully...
SHELL_VAR="PL/SQL procedure successfully completed. ERROR ----------------------------------------------------------------- Test Error Message PLUSVAR ---------- 1
"
var=$(echo ${SHELL_VAR} | sed...
11,543
Posted By vedavrath
Substr/Instr in shell script or extract part of text
Hi,

I need to extract part of a text to two variables

text is
"PL/SQL procedure successfully completed. ERROR ----------------------------------------------------------------- Test Error...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy