[Nut-upsuser] NEWLINE

Roger Price roger at rogerprice.org
Mon Apr 11 07:35:08 BST 2022

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.


More information about the Nut-upsuser mailing list