svn commit: r295169 - head/usr.sbin/sysrc

Devin Teske dteske at FreeBSD.org
Wed Feb 3 04:06:37 UTC 2016


On Tue, 2016-02-02 at 21:40 -0600, Benjamin Kaduk wrote:
> On Tue, Feb 2, 2016 at 5:50 PM, Devin Teske <dteske at freebsd.org>
> wrote:
> > On Tue, 2016-02-02 at 16:03 -0600, Benjamin Kaduk wrote:
> > > On Tue, Feb 2, 2016 at 3:58 PM, Devin Teske <dteske at freebsd.org>
> > > wrote:
> > > > Author: dteske
> > > > Date: Tue Feb  2 21:58:17 2016
> > > > New Revision: 295169
> > > > URL: https://svnweb.freebsd.org/changeset/base/295169
> > > > 
> > > > Log:
> > > >   Replace (Qo \  Qc) with (Qo (space) Qc)
> > > > 
> > > >   When using col(1) piped to vim(1) as pager for man(1), the
> > > > former sequence
> > > >   of (Qo \  Qc) renders as "" without the space. Replace with
> > > > (Qo (space) Qc)
> > > >   which renders properly in more (all?) pagers.
> > > mdoc(7) also suggests using double-quotes (" ") to escape literal
> > > spaces; did you try that?
> > Did not try -- tried just now and it works. Will update with a
> > commit.
> > 
> > However... /me opens "man mdoc"
> > (20 minutes later; confused as to where)
> > 
> > I've read mdoc(7) several times and have never seen such a
> > clarification.
> > (which I might add; would be mighty useful if you can find it)
> > 
> > 
> The shame is on me; I had opened the system mdoc(7) on OS X, which is
> actually groff_mdoc(7).  There is a subsection therein "Passing Space
> Characters in an Argument" which has the text in question.  I guess I
> need to spend more time with the mdocml mdoc(7) to get used to what
> it contains (and does not contain).
> 
> Sorry for sending you down the wrong rabbit hole...
Funny thing was, your suggestion absolutely worked. Learned something
our mdoc(7) doesn't document but supports.
-- 
Devin


More information about the svn-src-all mailing list