Search Results

Search: Posts Made By: shyamaladevi
31,003
Posted By shyamaladevi
Thank you friends,I changed and used like this ...
Thank you friends,I changed and used like this
v1=`echo $var | awk '{print $1}'`
v2=`echo $var | awk '{print $2}'`

where var is the variable which contains the values.
31,003
Posted By shyamaladevi
how to Read a file and assigning each line to a variable?
Friends,

I have a file output.txt with values as below:
092307135717
061910135717
I want to know how to read this file and then assign each value to a variable.
say like
var1=092307135717...
2,444
Posted By shyamaladevi
Hi Pravin, I tried with exit; before EOF but...
Hi Pravin,

I tried with exit; before EOF but it is still throwing the same error :(
2,444
Posted By shyamaladevi
Thanks for the quick reply. I tried using sleep...
Thanks for the quick reply.
I tried using sleep 1 grep -c but I am still getting the same error :(

---------- Post updated at 07:51 AM ---------- Previous update was at 06:21 AM ----------


...
2,444
Posted By shyamaladevi
Weird problem in my shell script,please help me!!!
sqlLogftp_mov=$LOGDIR/logftp_mov_$mydate.log
sqlplus -s $ORAUSER << EOF > $sqlLogftp_mov
SET SERVEROUT ON
@/$SCRIPTDIR/rep_comm_ext_tbl_load.sql
EOF
retorno=0
cnt=`grep -q 'ORA-' $sqlLogftp_mov...
Showing results 1 to 5 of 5

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