> However, when you save the text to a file on disk, the appropriate line > endings are written out for the particular file in question.
I think this is the problem, they aren't and then the file type (in bbedit that is) is set to Macintosh. Doing a search and replace changing \n to \r will make something that looks like this: http://skazat.com/for_you/grab.jpg Into something readable. That's a 7,000+ program, and no, it's not in Japanese :) This is what I get when I open a file with Unix line endings. js > On 8:17 PM 9/29/01 Justin Simoni <[EMAIL PROTECTED]> wrote: > >> Perl files saved in BBEdit in Unix and then closed and reopened, will >> be opened as a Macintosh format? The problem seems to be that BBEdit >> isn't changing \n to \r in the editing window, or aren't >> understanding that the file is using Unix newlines and thinks it's a >> Mac formatted file. >> >> I'm using 10.1. The files I'm working on have a PERL File Kind and a >> BBEdit icon. > > Justin, > > I'm not sure specifically what problem you are having. I see you've > already contacted support, so they should be able to help. > > As a point of information, while in memory, BBEdit always terminates > lines with \r. If you are doing searches with BBEdit, \r is going to > match end of line. > > However, when you save the text to a file on disk, the appropriate line > endings are written out for the particular file in question. > > Jim
