in reply to Equal line spacing in records of a file
I do not understand this question at all.
What do you mean by saying record, is it a line from file? And what is entrie? Is it a string between commas? If yes - then you just shoul add some comas before output.