Re: [SLUG] Adding a line feed after each line in a file.

From: Brett Simpson (Simpsonb@hillsboroughcounty.org)
Date: Tue Jan 08 2002 - 17:23:19 EST


I figured it out. I used a perl command to do it.

perl -p -e 's/$/\r/' < unix_file > windows_file

Brett

>>> Simpsonb@hillsboroughcounty.org 01/08/02 04:14PM >>>
Thanks everyone for the help on the carriage return. Now does anyone know how to add a line feed to the end of each line? In the hex editor each line will end in a 0a but I need it to end in a 0a0d. Brett

Brett



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:25:43 EDT