
mc08
New User
Dec 11, 2008, 8:03 AM
Post #1 of 2
(1257 views)
|
|
pattern matching with comma delimited text
|
Can't Post
|
|
Hi, I have two files that I need to match patterns with and the second file has comma delimited rows of data that match but I'm having trouble getting a script to work that gives me the match output to these sets : file 1: PADG_05255 PADG_06803 PADG_07148 PADG_02849 PADG_02886 PADG_05295 PADG_01010 PADG_01141 PADG_02836 PADG_04289 PADG_08126 PADG_05265 PADG_00557 PADG_05676 PADG_03527 PADG_00102 PADG_07457 PADG_03012 PADG_05018 PADG_04985 PADG_07697 file 2: PADG_04295 PADG_04294 PADG_04293 PADG_01010,PADG_04292 PADG_04291 PADG_04289 PADG_04288 PADG_04287,PADG_02886,PADG_07699 PADG_04286 PADG_04285 PADG_04284 PADG_04283 PADG_04281 PADG_03285 PADG_04280 PADG_04279 PADG_04278 Desired output: PADG_01010,PADG_04292 PADG_04287,PADG_02886,PADG_07699 PADG_04289
|