groff
[Top][All Lists]
Advanced

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

Re: [Groff] Applications of \c in man pages in the wild [LONG]


From: Ralph Corderoy
Subject: Re: [Groff] Applications of \c in man pages in the wild [LONG]
Date: Sun, 30 Apr 2017 17:11:30 +0100

Hi Branden,

> The remaining man pages categorize as follows:
>
> mandb(1)                        FONT_MACRO_C
> nmcli(1)                        DOCBOOK_C
> passwd(1)                       DOCBOOK_C
...

Have you a summary combining your two survey-result sets?
For this email, it's

    $ sed '/^mandb/,/^$/! d' `mhpath .` |
    > tr -s ' ,\010' \\012 |
    > grep -v '[[:lower:]]' |
    > sort | uniq -c
          1 COMMENT_C
         58 DOCBOOK_C
         17 FONT_MACRO_C
          4 PRIVATE_FONT_MACRO_C
          1 SMALL_C
          1 SPURIOUS_C_1
          3 SPURIOUS_C_2
          2 SPURIOUS_C_3
          1 SPURIOUS_C_4
          1 SPURIOUS_C_5
         10 TILDE_C
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]