Core iTOps Tube

Wednesday, 16 May 2012

How to insert new line in perl

HI,

I have a text file in which I have removed all new lines as I would like to introduce a new line at the end of each record in the file. There is no common end line for all the records. A new record will start by *RECORD*. So I want to introduce a new line before this line *RECORD*. So Can anyone please specify a command or program in perl or unix for this please.



Thanks in advance




No comments:

Post a Comment