On Sun, 10 Apr 2022, Manuel Wolfshant wrote:

On 4/10/22 20:45, Jim Klimov via Nut-upsuser wrote:
      I believe the code only deals with '\n' character for line-breaks, in 
protocol and probably configs. 

I've just thrown in a quick test:  I converted upsmon.conf to dos format and restarted upsmon. No complains AFAICS so I guess at least upsmon ( and I guess the parser is the same for the other apps ) accepts configs in CRLF format:

Thanks to all who commented. I will document the Nut NEWLINE as a single hex 0A, in the Unix tradition.

Roger
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to