Bug 224632 - man procstat missing \?
Summary: man procstat missing \?
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-28 08:59 UTC by Walter Schwarzenfeld
Modified: 2018-01-26 00:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld 2017-12-28 08:59:31 UTC
man procstat

     -b      Display binary information for the process.

:<standard input>:310: missing \?
<standard input>:310: missing \?
<standard input>:310: `\?' is not allowed in an escape name
<standard input>:310: a node is not allowed in a name
<standard input>:310: missing \?
<standard input>:310: missing \?
<standard input>:315: missing \?
<standard input>:315: missing \?
<standard input>:315: `\?' is not allowed in an escape name
<standard input>:315: name expected (got a node)
<standard input>:315: missing \?
<standard input>:315: missing \?
     -c      Display command line arguments for the process.
Comment 1 Walter Schwarzenfeld 2017-12-28 09:05:57 UTC
https://www.freebsd.org/cgi/man.cgi?procstat
Comment 2 Brooks Davis freebsd_committer freebsd_triage 2018-01-05 16:27:07 UTC
What version of FreeBSD are you seeing this error in?
Comment 3 Walter Schwarzenfeld 2018-01-05 17:57:22 UTC
10.4-Release amd64.
Comment 4 Walter Schwarzenfeld 2018-01-05 18:42:40 UTC
On the pure commandline and in the DE (fvwm-crystal)
my locale:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES=C
LC_ALL=
Comment 5 Walter Schwarzenfeld 2018-01-05 18:56:17 UTC
If it's right, what the link shows:

I have changed it to:

diff procstat.1.new procstat.1.old
310c310
< .It UD.el .nop	UD.
---
> .It UD\?
315c315
< .It .el .nop .
---
> .It \?

and it seems it shows right.
Comment 6 Brooks Davis freebsd_committer freebsd_triage 2018-01-05 23:05:22 UTC
Ah, this is a compatibility issue with groff.  Your proposed change breaks the output as the intended output is to display a '?' where the \?s occur.  mandoc (used in 11+) does this.  I don't know if this is possible in groff.
Comment 7 Brooks Davis freebsd_committer freebsd_triage 2018-01-05 23:38:08 UTC
Ah, it looks like the '\'s are unneeded and don't work in groff.  I'll fix this.
Comment 8 Brooks Davis freebsd_committer freebsd_triage 2018-01-05 23:46:56 UTC
https://reviews.freebsd.org/D13779
Comment 9 Walter Schwarzenfeld 2018-01-06 02:05:43 UTC
Ok, seems that fix it.
Comment 10 commit-hook freebsd_committer freebsd_triage 2018-01-23 20:08:52 UTC
A commit references this bug:

Author: brooks
Date: Tue Jan 23 20:07:51 UTC 2018
New revision: 328297
URL: https://svnweb.freebsd.org/changeset/base/328297

Log:
  Don't escape '?'s in protocol output.

  This isn't required by mandoc and is nonfunctional in groff.

  PR:		224632
  Reported by:	w.schwarzenfeld@utanet.at
  MFC after:	3 days
  Differential Revision:	https://reviews.freebsd.org/D13779

Changes:
  head/usr.bin/procstat/procstat.1
Comment 11 Walter Schwarzenfeld 2018-01-23 23:08:20 UTC
Thanks!
Comment 12 commit-hook freebsd_committer freebsd_triage 2018-01-26 00:35:33 UTC
A commit references this bug:

Author: brooks
Date: Fri Jan 26 00:34:34 UTC 2018
New revision: 328421
URL: https://svnweb.freebsd.org/changeset/base/328421

Log:
  MFC r328297:

  Don't escape '?'s in protocol output.

  This isn't required by mandoc and is nonfunctional in groff.

  PR:		224632
  Reported by:	w.schwarzenfeld@utanet.at
  Differential Revision:	https://reviews.freebsd.org/D13779

Changes:
_U  stable/11/
  stable/11/usr.bin/procstat/procstat.1
Comment 13 commit-hook freebsd_committer freebsd_triage 2018-01-26 00:36:37 UTC
A commit references this bug:

Author: brooks
Date: Fri Jan 26 00:35:33 UTC 2018
New revision: 328422
URL: https://svnweb.freebsd.org/changeset/base/328422

Log:
  MFC r328297:

  Don't escape '?'s in protocol output.

  This isn't required by mandoc and is nonfunctional in groff.

  PR:		224632
  Reported by:	w.schwarzenfeld@utanet.at
  Differential Revision:	https://reviews.freebsd.org/D13779

Changes:
_U  stable/10/
  stable/10/usr.bin/procstat/procstat.1