svn commit: r366403 - head/bin/ls

Gordon Bergling gbe at freebsd.org
Mon Oct 5 10:16:40 UTC 2020


On Sat, Oct 03, 2020 at 10:33:28PM +0300, xtouqh at hotmail.com wrote:
> Gordon Bergling wrote:
> > On Sat, Oct 03, 2020 at 09:47:48PM +0300, xtouqh at hotmail.com wrote:
> >> Gordon Bergling wrote:
> >>> Author: gbe (doc committer)
> >>> Date: Sat Oct  3 18:34:24 2020
> >>> New Revision: 366403
> >>> URL: https://svnweb.freebsd.org/changeset/base/366403
> >>>
> >>> Log:
> >>>     ls(1): Bugfix for an issue reported by mandoc
> >>>     
> >>>     - no blank before trailing delimiter
> >>>     
> >>>     MFC after:	1 week
> >>>
> >>> Modified:
> >>>     head/bin/ls/ls.1
> >>>
> >>> Modified: head/bin/ls/ls.1
> >>> ==============================================================================
> >>> --- head/bin/ls/ls.1	Sat Oct  3 18:30:01 2020	(r366402)
> >>> +++ head/bin/ls/ls.1	Sat Oct  3 18:34:24 2020	(r366403)
> >>> @@ -40,7 +40,7 @@
> >>>    .Nd list directory contents
> >>>    .Sh SYNOPSIS
> >>>    .Nm
> >>> -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,
> >>> +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1 ,
> >>
> >> This makes the "," appear after the "]", how about using the following
> >> instead:
> >>
> >> .Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1\&,
> > 
> > The comma is appearing right before the ']', like it was before. I'll check
> > the recommended syntax regarding '\&' tomorrow.
> 
> That's not what I'm seeing:
> 
> polaris:xtouqh:/usr/src$ svnlite info bin/ls/ls.1
> Path: bin/ls/ls.1
> Name: ls.1
> Working Copy Root Path: /usr/src
> URL: svn://svn.freebsd.org/base/head/bin/ls/ls.1
> Relative URL: ^/head/bin/ls/ls.1
> Repository Root: svn://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 366414
> Node Kind: file
> Schedule: normal
> Last Changed Author: gbe
> Last Changed Rev: 366403
> Last Changed Date: 2020-10-03 18:34:24 +0000 (Sat, 03 Oct 2020)
> Text Last Updated: 2020-10-03 18:51:31 +0000 (Sat, 03 Oct 2020)
> Checksum: 72fe092ab2b5ac3363ea0681cfda216876d24fcd
> 
> $ man bin/ls/ls.1 | head
> LS(1)                   FreeBSD General Commands Manual 
>   LS(1)
> 
> NAME
>       ls – list directory contents
> 
> SYNOPSIS
>       ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1], [--color=when] [-D 
> format]
>          [file ...]
> 
> DESCRIPTION

That is strange. I have checked the output from mandoc and man, and with
r366403 applied, it is always the following:

-------------------------------------------------------------------------------
LS(1)                   FreeBSD General Commands Manual                  LS(1)

NAME
     ls – list directory contents

SYNOPSIS
     ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [--color=when] [-D format]
        [file ...]

DESCRIPTION
-------------------------------------------------------------------------------

--Gordon


More information about the svn-src-all mailing list