On Sat, Feb 3, 2024 at 9:10 AM Jon DeVree <[email protected]> wrote:
> By default xmlstarlet does not include a final newline on the output.
> Because POSIX says that all lines must end in a newline, this causes the
> final line of output to be skipped by the 'while read ...' loop in bash.
> Adding a '-n' after the '-v ...' causes xmlstarlet to include a final
> newline at the end of its output.

Thank you! Out of curiosity, on what platform(s) does this cause a
problem? MacOS… *BSD…?

I see this was already merged, thanks to Dimitri and Nikos (in
https://gitlab.com/openconnect/openconnect/-/merge_requests/535).

_______________________________________________
openconnect-devel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/openconnect-devel

Reply via email to