Search Results

Search: Posts Made By: gaurav_1711
9,727
Posted By gaurav_1711
Thanks Dennis, it worked perfect !!
Thanks Dennis, it worked perfect !!
9,727
Posted By gaurav_1711
Thanks Dennis I tried this snippet, it...
Thanks Dennis

I tried this snippet, it worked:

RESULT=`sqlplus -s <<!
${USER}/${PASSWORD}@${DSQUERY}
select WO_STAT from tbl_wrk_ord where WO_ID='756843658';
!`
echo $RESULT

Output:
...
9,727
Posted By gaurav_1711
SQLPLUS within shell script
Hi

I want to connect to the Oracle database using a username/password and get back the query result(a numeric value) in a variable, which I can then compare using a conditional.

Can anybody...
7,476
Posted By gaurav_1711
thanks everybody for their help i am tried...
thanks everybody for their help

i am tried the following script and it works fine

sed "s/^/prefix/;s/$/suffix/" oldfile > newfile
7,476
Posted By gaurav_1711
i tried.. sed "s/^/prefix/;s/\n/sufix/"...
i tried..

sed "s/^/prefix/;s/\n/sufix/" oldfile > newfile

but it is only adds the prefix...
7,476
Posted By gaurav_1711
Thanks buddy, I will try to solve it by going...
Thanks buddy, I will try to solve it by going thru this link......
7,476
Posted By gaurav_1711
I have never used sed before, i tried searching...
I have never used sed before, i tried searching on google but of no avail, i know it has a very simple solution for someone who has already used sed......

could somebody reply with a solution?
7,476
Posted By gaurav_1711
I have never used sed before, i tried searching...
I have never used sed before, i tried searching on google but of no avail, i know it has a very simple solution for someone who has already used sed......

could somebody reply with a solution?
7,476
Posted By gaurav_1711
SED command for read and write to different files
Hi

I need some help on SED command

I am writing a shell script which does the following:

1. Read one line at a time from a file abc.txt which has millions of lines

2. Prefix each line...
4,701
Posted By gaurav_1711
how to extract a string value from the given line
Hi

I have an input as follows:

param1:value1|param2:value2|param3:value3|param4:value4|param5:value5

where, "|" and ":" are delimiters

Now suppose, I want to extract the value...
Showing results 1 to 10 of 10

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