Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] When is a line feed really a line feed?



On Sat, Dec 4, 2010 at 2:53 AM, Dave M G <dave@example.com> wrote:
> TLUG,
> I'm using Gedit to search and replace the line break characters, and
> I've tried \n, \r, and \r\n. But the thing with Gedit is that they all
> render invisibly, so it's hard for me to tell what form my line breaks
> are being saved as. I fear there may be something about the document
> encoding (utf-8, I believe) or something when I save it that might be
> altering the format.

Try "dos2unix <file>" if you have access to a Linux system.

/Johan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links