Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD's json format prints an unescaped new line before the final closing bracket #74

Closed
jlduran opened this issue Aug 4, 2020 · 2 comments

Comments

@jlduran
Copy link

jlduran commented Aug 4, 2020

FreeBSD's --libxo json format prints an unescaped new line before the final closing bracket. Here is an example with a short output (jls with no jails, any other command will do):

% jls --libxo json
{"__version": "2", "jail-information": {"jail": []}
}

Notice the closing bracket in a new line (unescaped). The tests in libxo do not seem to include it. I am not sure if this is intended.

@philshafer
Copy link

philshafer commented Aug 5, 2020 via email

@jlduran
Copy link
Author

jlduran commented Mar 7, 2021

This bug is not present in FreeBSD 13.

@jlduran jlduran closed this as completed Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants