Hi Mani,
OK.
Let us take a huge step backwards here and try to figure out what is going on.
In the first posting on this thread, you had input file 1 containing one word in one field with no spaces; and input file 2 with 7 fields containing one word with field 1 separated from field 2 by three spaces, two spaces between fields 2 and 3, two spaces between fields 3 and 4, and one space separating the remaining fields. In that posting you also showed that you wanted
(approved) added to field 2 if field 2's original contents matched a line in file 1 and that you wanted
(approved) (note the leading space) to field 6 if the contents of field 6 matched a line in file 1. (I assumed that the leading space was desired consistently, but I no longer have any idea if this is true or not.)
Then in message #3, you show us that the 1st file has lines containing one word (sometimes with a leading space) and, except for the last line, always a trailing space. So, we now know that we can't match even columns in file 2 against whole lines in file 1 anymore. This message also shows us that in file 2 field 1 is separated from field 2 by five spaces and there are 4 spaces between fields 2, 3, and 4; and, each line, except the last, has hundreds of spaces at the end of the line.
Then in message #7, you tell us that we aren't dealing with text files at all. The real input files are binary files in the format produced by Microsoft's Word.
If the input files are binary files, the shell and most of the UNIX utilities aren't likely to be able help you much. They're designed to work on text files; not binary files. If you won't accurately describe the input files that you want to process, there isn't much that we can do to help you.