eradicate CRs and truly enforce LF in files?

6 views
Skip to first unread message

FrankS

unread,
Feb 2, 2012, 6:46:09 PM2/2/12
to BBEdit Talk
I've been bitten a number of times by apps that choke on CRs and other
apps that sneak in those CRs.

BBEdit seems to do the right thing and uses LF by default.

However, BBEdit happily opens files where CRs are used and doesn't
seem to mind those CRs and keeps them in the file even if you edit and
save it while displaying in the bottom of the window that LF is used
for the file.

In other words, BBEdit doesn't seem to tell you when a file has CRs,
and I can find BBEdit command thats shows whether a file does have
those CRs, and no way to replace/eradicate them.

Am I missing some hidden feature somewhere?
(can't believe that I am the first and only one facing this issue)

Thanks, Frank.

Herbert Schulz

unread,
Feb 3, 2012, 8:17:47 AM2/3/12
to bbe...@googlegroups.com


Howdy,

If you look at the Status Bar at the bottom of the document window one of the popup menus shows the line endin used by that file and you can change it via that popup menu too.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

Rich Siegel

unread,
Feb 3, 2012, 9:43:15 AM2/3/12
to bbe...@googlegroups.com
On Thursday, February 2, 2012, FrankS <frank.si...@gmail.com> wrote:

> In other words, BBEdit doesn't seem to tell you when a file has CRs,
> and I can find BBEdit command thats shows whether a file does have
> those CRs, and no way to replace/eradicate them.

Text -> Normalize Line Endings should do the job.

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

FrankS

unread,
Feb 4, 2012, 6:33:16 PM2/4/12
to BBEdit Talk
Thanks Rich, thanks Herb - got it to work now.

-FrankS.


On Feb 3, 6:43 am, Rich Siegel <sie...@barebones.com> wrote:
Reply all
Reply to author
Forward
0 new messages