file: vs bibfile: usage?
jerry at jhjensen.com
Mon Jan 7 19:17:12 CET 2019
On a mac, BBEdit or its older cousin TextWrangler will preserve line endings. It just works. You can also easily change endings with a pull-down menu. That stoppedl me from whining about the price. They also have good tech support.
> On Jan 7, 2019, at 8:28 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> This is a perennial problem. My personal opinion is that unless a user explicitly wants to alter the line endings in a file, no assumptions should be made by the developer in this regard. A classic example (at least for me) is working with files exported from copiers. Let's say I want to export the email addresses from a Toshiba copier, edit them in a spreadsheet, then re-import them back into the copier. Simply OPENING the text file, in TextEdit or Word on a Mac OS will convert the line endings to the Mac defaults, EVEN IF I DO NOT SAVE THE FILE!!! Now the Toshiba copier will reject the file because it is expecting line feeds and it has CRLFs instead. So I have to edit these files in a Windows VM or I break them.
> Bob S
More information about the use-livecode