Beri Veera-ext, Reddy wrote:
> Hi,
>  In input.txt  "56500000001295;A9" is existing 7 times. But in output.txt
> file I want only once. I don't want multiple times. 
>   So for this first I have to check either this "56500000001295;A9" is
> existing in output.txt or not. If it is not existing I have to write in
> output.txt or else I have go to another line.
>
> Thanks and Regards
> Reddy
>   

Please supply the contents of the "output.txt" file once you have done
the merge. Please do not attempt to write the pseudocode for the
algorithm you want, as it is this you are having the problems with and
it doesn't make it easier to get your point across. For example, is this
what output you want at the end:
-- snip --
CADItem;56500000001295;A9;IMAN_Rendering;DirectModel;56500000001295-A1;jt;None$.jt
CADItem;56500000001295;A4;IMAN_specification;TIFFDrawing;56500000001295_dr01;tif;56500000001295_dr01.tif
CADItem;56500000001295;A2;IMAN_specification;TIFFDrawing;56500000001295_dr01;tif;56500000001295_dr01.tif
CADItem;56500000001295;A3;IMAN_specification;TIFFDrawing;56500000001295_dr01;tif;56500000001295_dr01.tif
CADItem;56500000001295;A6;IMAN_specification;TIFFDrawing;56500000001295_dr01;tif;56500000001295_dr01.tif
CADItem;56500000001295;A7;IMAN_specification;UGMASTER;56500000001295-A1;qaf;images_preview.qaf
CADItem;56500000001295;A8;IMAN_specification;TIFFDrawing;56500000001295_dr01;tif;56500000001295_dr01.tif
-- snip --

If you have multiple occurrences in the input.txt file, which line
should be used? the first line encountered from the top of the file??


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to