Subj : File: writeln() and line endings
To   : Digital Man
From : Nightfox
Date : Mon Apr 28 2025 09:44 am

 Re: File: writeln() and line endings
 By: Digital Man to Nightfox on Sun Apr 27 2025 09:26 pm

>> Also, I'm a little unclear on why the underlying C++ methods would change
>> the line endings to \r\n on Linux.  Could that be a bug, or is it intended
>> behavior?

DM> That is intended behavior. I'll look into retaining the line-ending style
DM> on edited text files.

For my test, I was trying it when id_rsa is a new file (I had made a backup of my original), so it was a new file.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com