Thank you very much for all those who answered my first question. Actually it helped me out alot. I was thinking about doing little diferent thing now. I have three files now, e.g
File huh.txt (input)has this:
abcdefghijklmnop //firstline (#first line is just something I need to ignore).
file huh1.txt (output) has this:
123456789
And my third file contains this:
da
ba
ra
fa
ka
ha
yo
la
si
da
bi
ga
.Remember when I write a new file , I need to put ga with p9, bi with o8, havwith g7. The first array on 3rd file is merged with last character of huh1 and huh file and it goes backward. and one more thing, I don't want all the lines in third file.I just want selected one. Anyway my result should be this
da 1a
ka c4
and so on...
Thankx in advance.