in reply to Re: match pattern from two different file
in thread match pattern from two different file

file1 contains

LOC_Os01g01010.1 3017 : PAS 2993,3017 : AGTAAA AAATGGAGGAATTCTGCCA LOC_Os01g01010.2 2218 : uORF 7,129 : ATG AAGAAGACGAGACGACGACTTCCCCACTA +GGAAACACGACGGAGGCGGAGATGATC

and file2 contains

LOC_Os01g01010.1 : PS51373 HIPIP High potential iron-sulfur proteins f +amily profile. 2139 - 2208 AATGATTTATCATGTGAGGTGAAAGA-----AGAGCACCGGG +TGAACAGTTACACAAGAA L=-1 GAAAGTCCAAAAGCA LOC_Os01g01010.2 : PS00022 EGF_1 EGF-like domain signature 1. 298 - 30 +9 CtCccTtcGTtC L=(-1)

I am trying to retrieve "LOC_Os01g01010*"(as whole file contains variation of naming but LOC_Os01g remains constant)

yes, i did write once by giving condition with and that also didn't produce any result
actually i have tried writing in so many ways, that it become all jumbled and now i don't know what should do