Search Results

Search: Posts Made By: ownedthawte
22,293
Posted By ownedthawte
A is set to this: 0000000 n o r o ...
A is set to this:
0000000 n o r o w s s e l e c t e d
0000020 \n
0000021

B is also the same thing above.

The case example you posted did not act any...
22,293
Posted By ownedthawte
where exactly in the script should the pipe and...
where exactly in the script should the pipe and od -c live? In the if statement? or where I am setting the A variable?
Thank you tons!
_Stan
22,293
Posted By ownedthawte
Having some more problems with my script: ...
Having some more problems with my script:

A=$(sqlplus -s user/pass @lmbbroken.sql $A)
echo $A
B="no rows selected"
echo $B
if [ "$A" = "no rows selected" ]
then
echo "Empty"
...
22,293
Posted By ownedthawte
cfajohnson, I did not actually try the code...
cfajohnson,
I did not actually try the code mentioned by danmero. I am using your example. I just remember ^a-z and seen his example and thought it would work.
-Ownedthawte
22,293
Posted By ownedthawte
That also does work perfect. Can we say more than...
That also does work perfect. Can we say more than one way to skin a cat?
22,293
Posted By ownedthawte
cfajohnson, Thank you very much for the quick...
cfajohnson,
Thank you very much for the quick and precise response. Works perfect Much appreciated!
22,293
Posted By ownedthawte
Remove non numeric values from a variable
Hello all,
I am working on a basic script but need a little help.

Issue:
I am running a SQL Query using sqlplus and a shell script. I have the output of the statement stored as variable $A. $A...
Showing results 1 to 7 of 7

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