in reply to Re^3: Parsing csv without changing dimension of original file
in thread Parsing csv without changing dimension of original file

Thank you very much for your comment. Sorry for the inconvenience. Using "sep=\t" in your first script solved the problem and this give me the exact output as the latest script

my %dict =  map { chomp; split '\t', $_, 2 } <$fh>;

I have another problem. In the result, I still have previous text in many cells. Its strange, some cells replaced exactly some not. Either they might not be replaced or replaced by the 1st column of the 'egg_pathway_title.txt'. I was trying to delete those strings but failed. What I have done

ut -f1 bioDBnet_db2db_KEGG_Title_final.txt > exclude-these.txt

but failed. I have tried in many ways. Is there any way to upload my files here? Best Regards Zillur