hi my code is something like
count=0
echo "oracle TABLESPACE NAME nd TARGET"
while [ loop condition ]
do
count=`expr $count + 1`
(1) tts_space_name$count=`echo $tts | cut -d "," -f$count`
(2) target$count=grep $(tts_space_name$count) cfg.txt | cut -d'=' -f2
done
in line (1) value is getting assigned to tts_space_name$count , but den it is displaying error as no data found as shown
'
tts_space_name1=TBS_ADOX_EXTR3: not found.
'
then in line (2) i want to give dynamic string to grep command , getting error as no error found ...
help in either case will be appreciated ....
plz help.