cr, lf, and reading in terminals/vim

Klaus major-k klaus at major-k.de
Wed Oct 30 17:57:44 EDT 2019


Hi Richard,

> Am 30.10.2019 um 22:55 schrieb Dr. Hawkins via use-livecode <use-livecode at lists.runrev.com>:
> 
> On Oct 30, 2019, at 2:42 PM, Matthias mentioned
>> I am not sure, if this will help with your task, but if i want to  avoid that the os replaces the line breaks with it´s default i am writing a binary file instead of a text file.  So in your case you would open the file for "binary write".
> Bingo! That did it.
> klaus kicked
>> I remember that a very, very long time ago I was advised to use numtochar(8)
>> as a "line delimiter" for macOS shell scripts written to disk.
> Isn’t that a backspace?

no idea, but it worked for me years ago. :-)

>> Richard E. Hawkins, Esq.

Best

Klaus
--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list