Hi,
I'm trying to do the usual compare two files and pull out the common field, but in addition to that, I want some additional information from file two to be extracted as well. Tried a few different approaches, but think its time to ask the experts.
I've placed an example of the two files at this link
Basically, I want to compare the two files, pull out the common heading (which commences with '>') and also the additional information which is listed in any number of rows below this heading until the next header.
Hope someone has a solution. Many thanks,
Giovanni
I'm trying to do the usual compare two files and pull out the common field, but in addition to that, I want some additional information from file two to be extracted as well. Tried a few different approaches, but think its time to ask the experts.
I've placed an example of the two files at this link
Basically, I want to compare the two files, pull out the common heading (which commences with '>') and also the additional information which is listed in any number of rows below this heading until the next header.
Hope someone has a solution. Many thanks,
Giovanni