Can BBEdit batch convert Carriage return (Mac/DOS) to Line feed (Unix)?

618 views
Skip to first unread message

johnGalt

unread,
Mar 6, 2018, 2:51:28 PM3/6/18
to BBEdit Talk
Every month, I get a bunch of files that I need to convert from CR to LF. Can BBEdit do this in batch?
I've also been experimenting with command line, but no success.

Patrick Woolsey

unread,
Mar 6, 2018, 2:59:25 PM3/6/18
to bbe...@googlegroups.com
Sure; just create a _text factory_ (File -> New -> Text Factory)
which contains a suitably-configured "Change Line Endings"
action, and apply as needed. :-)

[PS: For more details, please see the "Text Factories" section
in Chapter 5 of the PDF manual, which is always available via
Help -> User Manual).]


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com/>

Reply all
Reply to author
Forward
0 new messages