Justin,
In this case, "appropriate line endings" are determined by a combination 
of preferences set and the choice you can make in the save tab/button at 
the top of each window.


Macintosh
Windows
Unix  <<<<----
In a related issue....
When I change to a Japanese font to be able to read my Japanese Text in 
Perl scripts,  most of the tool functions are greyed out.
This is a far cry better than what used to happen to Japanese text in 
previous versions.

If you are still in doubt of your settings,  another text editor like 
TEX-Edit will show the mac normal view of lines terminated with 
linefeeds (Unix) ,creturn+linefeeds(windows), and creturns(mac).  Though 
BBEdit always seems to do what you tell it to do, even if it doesn't 
make a  lot of noise about it.

Jim Cooper.

On Sunday, September 30, 2001, at 09:46  AM, Jim Correia wrote:

> 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
>
> --
> Jim Correia                                Bare Bones Software, Inc.
> [EMAIL PROTECTED]                     <http://web.barebones.com>
>
>
---------------------------------------------------------------------------
reply directly to:

mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo
---------------------------------------------------------------------------

Reply via email to