[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Man-db-devel] [PATCH v2] man(1): add .N names
From: |
Mihail Konev |
Subject: |
Re: [Man-db-devel] [PATCH v2] man(1): add .N names |
Date: |
Sat, 29 Oct 2016 07:11:45 +0500 |
On Mon, 3 Oct 2016 22:58:18 +0100, Colin Watson wrote:
> On Mon, Oct 03, 2016 at 08:47:26PM +0000, Mihail Konev wrote:
> > `man chmod.` is now the same as 'man -a chmod'
> > `man chmod.2` is now the same as 'man 2 chmod'.
> >
> For the most part I don't like special-casing names, and the trailing
> dot seems a pretty unmemorable way to avoid using an option, so I would
> rather not take that part of it.
>
> "man chmod.2" seems like a sensible change, though. Please could you
> add a test for the new behaviour under src/tests/, and document the
> change in man/man1/man.man1?
On Mon, 3 Oct 2016 23:05:11 +0100, Colin Watson wrote:
> On Mon, Oct 03, 2016 at 08:50:11PM +0000, Mihail Konev wrote:
> > `man chmod..` is now the same as `man -f chmod`
> > `man chmod...` is now the same as `man -k chmod`
> > `man chmod....` is now the same as `man -K chmod`
>
> In any case, I don't think this pulls its weight.
All five are doable in ~/.bashrc with sed+grep or perl,
which is then portable.
So probably 'man chmod.2' should not go either,
because it would be unique to 2016+ Linux/Hurd then.