man page for vt-is-UTF8 --quiet is wrong
Bug #49031 reported by
Graeme Hewson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-tools (Debian) |
Fix Released
|
Unknown
|
|||
console-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
vt-is-UTF8(1) says:
-q --quiet
do not print on stdout in with mode we are, but return the state
as exit-status 1 if in UTF8-mode, 0 if in byte-mode.
These conditions should be reversed: the exit status is 0 if in UTF8 mode.
The unicode_start and unicode_stop scripts do the right thing anyway, despite what vt-is-UTF8(1) says (remember, exit status 0 is "true" for shell script).
Related branches
Changed in console-tools: | |
status: | Unknown → Unconfirmed |
tags: | added: bitesize manpages string-fix |
Changed in console-tools (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
vt-is-UTF8 is part of the console-tools package. However, it may be difficult to change its behavior; scripts using console-tools before version x would need opposite behavior from those using console-tools after version x.