Re: [PATCH] man7/mdoc_samples.7: srcfix: Avoid a warning about a wrong section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bjarni,

On 2/16/19 7:03 PM, Bjarni Ingi Gislason wrote:
> Usage: .Rv -std in sections 2 and 3 only (#1672)
> 
>   The output from "nroff" and "groff" is unchanged

Can you please elaborate on what the problem problem is (.,
how do you see the warning)?

Thanks,

Michael

> Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx>
> ---
>  man7/mdoc.samples.7 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man7/mdoc.samples.7 b/man7/mdoc.samples.7
> index 6d1887481..7109afba4 100644
> --- a/man7/mdoc.samples.7
> +++ b/man7/mdoc.samples.7
> @@ -1668,11 +1668,11 @@ will generate the following text:
>  .Pp
>  .\" fake section 3 to avoid error message from Rv
>  .\".ds cH 3
> -.ds section 3
> +.ds doc-section 3
>  .Rv -std atexit
>  .\" and back to 7 again
>  .\".ds cH 7
> -.ds section 7
> +.ds doc-section 7
>  .Pp
>  The
>  .Fl std
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux