"Ken G. Brown" <[EMAIL PROTECTED]> sez:

>I am working with some files with Unix line endings, which I would like to
>be able to open and view properly then save again with Unix line endings.
>Currently I have Preferences/Text Files set to translate line breaks, and
>default set to Mac(CR).
>
>This seems to be ok, I can view the files in the proper format but I'm
>unsure of all the interactions.
>ie. if I edit the file and save it again, does 'Translate line breaks'
>save with Unix line breaks?
>
>Is it perhaps better in general to set the Default line breaks to Unix(LF)?
>

As a general rule, just leave "Translate Line Breaks" turned on and BBEdit
will do the right thing with existing files. :-)


in a bit more detail:

The "Default Line Breaks" option (in the Text Files prefs panel) determines
what line ending format BBEdit sets for newly-created files.

However, BBEdit will always preserve the line ending format of any existing
file you open, unless you explicitly change the format before (or while)
saving the file.


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc.                        <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to