Search Results

Search: Posts Made By: ran16
7,220
Posted By ran16
Thanks
Era
Thank you for your patience in answering me.
My problem got solved.
7,220
Posted By ran16
still not solved
Era,
I have tried your code but still awk is done for all the files including the files with pattern
I doubt after awk when i give awk ' ' $i
it is taking file from the *.txt instead of the...
7,220
Posted By ran16
Era, my requirement is for f in 'grep...
Era,
my requirement is

for f in 'grep 'pattern' "$f" >/dev/null .....(need syntax)
Do some sed or awk
done

That is I want to do a 'for loop and do some awk' for files
which does not...
7,220
Posted By ran16
If I use like grep -v 'ERROR' *.txt then I get...
If I use like grep -v 'ERROR' *.txt then I get lines also from the text files which do not have ERROR pattern
I want to grep only files that do not have the pattern

I even used 'grep -r ...
7,220
Posted By ran16
grep excluding pattern
Hi,
Please tell me how I can grep files which does not have given pattern.

Thanks
7,220
Posted By ran16
It worked
Thanks Yogesh it worked...
7,220
Posted By ran16
grep spool file error
Hi,
I am trying to do this
For i in *.txt
do
sed 'some pattern checking' $i
done
>file

These text files are spool files.And when i find error in these spool files I want to append the...
2,055
Posted By ran16
I have corrected the problem
thread can be closed
2,055
Posted By ran16
one more problem in the same code
I have further a problem with my code.
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1 sql2
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME}
...
2,055
Posted By ran16
thanks
Franklin,
thanks my problem is solved
2,055
Posted By ran16
It worked but still one doubt
Jim,
it worked.But I have one more doubt
My Elapsed time is Elapsed: 00:00:26.42
So in seconds i should get 26.042 second.but as per this code I am getting
it as 0.02642.
Can you please...
2,325
Posted By ran16
Problem while execution of second set of commands
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
...
2,055
Posted By ran16
Problem while execution of second set of commands
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
...
6,124
Posted By ran16
It worked
Thank you So much it worked.
1,485
Posted By ran16
Some one help please its urgent
Hi ,
Can anyone help me regarding loading a unix file data to oracle database table using shell scripts?


I wanted to grep only this data from a spool file
sql_test.txt
99
00:00:00:01

but...
6,124
Posted By ran16
unix file to oracle table
Hi ,
Can anyone help me regarding loading a unix file data to oracle database table using shell scripts?


I wanted to grep only this data from a spool file
sql_test.txt
99
00:00:00:01
...
Showing results 1 to 16 of 16

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