Extracting a string from one file and searching the same string in other files

Hi,

Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get the lines containing that string.

please help me how to do this using awk or sed in unix.

Thanks,
Mohan.

Let say you have file1 without delimeter and you want first 10 char as pattern to search in another files.

#!/bin/sh
cut -c1-10 file1 >pattern.txt
for pattern in `cat pattern.txt`
do
find $pattern file_name1 file_name2
done