in reply to to interchange line no of file & print

If you're running in a *nix environment, there already exists a utility that does what you want: paste.
man paste
'nuff said :)