[Bug 283414] jls (8) doesn't handle newlines in values consistently
Date: Thu, 19 Dec 2024 11:09:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283414
Bug ID: 283414
Summary: jls (8) doesn't handle newlines in values consistently
Product: Base System
Version: 14.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: dch@freebsd.org
# jail -c persist osrelease="$(echo major=1; echo minor=0)"
# jls
JID IP Address Hostname Path
145 /
# jls osrelease jid
major=1
minor=0 145
the manpage clearly states:
Each jail is represented by one row which contains space-separated values of
the listed parameter
Either we should amend the manpage, or swap newlines for spaces consistently on
all parameters.
It seems that a trailing newline is removed, so perhaps for consistency we
should replace all newlines with space when this single-line output is used.
--
You are receiving this mail because:
You are the assignee for the bug.