plzz urgent help

March 19, 2009 at 17:59:15
Specs: unix
im trying to compare a name in file1 if it exist in file2 so i can do an if statment i have tried several ways the awk and using array bt still always there is an error a syntax one or idnt know what im begining to surrender help any idea :S

See More: plzz urgent help

Report •


#1
March 19, 2009 at 19:04:54
this is the file im tryg to make it run bt its not working any advise ???


clear
echo " ####################################### "
echo " # # "
echo " # STATUS X # "
echo " # # "
echo " ####################################### \\n"
echo " This script will show you AMA files with STATUS X \n "
set head off; <<EOF>>maak
sqlplus -s
med/med
select bi_file_name from cdr_head where multi_carrier='x'
/
ls -1 >maak1
maak=`echo$i | awk -f" :" '{print $1}';`
maak1=`echo$i | awk -f ":" '{print $1}';`
if [ $a=$b]
then
touch $a.A
else
echo "file not found "
fi


Report •
Related Solutions


Ask Question