Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2020 12:16:39 +0200
From:      Gordon Bergling <gbe@freebsd.org>
To:        xtouqh@hotmail.com
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r366403 - head/bin/ls
Message-ID:  <20201005101639.GA34424@lion.0xfce3.net>
In-Reply-To: <AM0PR06MB398630632D74922E9CEA1BA5C00E0@AM0PR06MB3986.eurprd06.prod.outlook.com>
References:  <202010031834.093IYO3r026370@repo.freebsd.org> <AM0PR06MB3986EA89D41FDB706059640DC00E0@AM0PR06MB3986.eurprd06.prod.outlook.com> <20201003192916.GA41544@lion.0xfce3.net> <AM0PR06MB398630632D74922E9CEA1BA5C00E0@AM0PR06MB3986.eurprd06.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 03, 2020 at 10:33:28PM +0300, xtouqh@hotmail.com wrote:
> Gordon Bergling wrote:
> > On Sat, Oct 03, 2020 at 09:47:48PM +0300, xtouqh@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201005101639.GA34424>