[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    aspell(1) markup visibility and filtering (was: demandoc(1))
From:       Graham Perrin <grahamperrin () freebsd ! org>
Date:       2023-08-06 15:46:17
Message-ID: ef601529-0101-d1be-948a-0872371fb63e () freebsd ! org
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (text/plain)]

On 06/08/2023 13:36, Graham Perrin wrote:
> … have aspell present everyday language, without markup. …

Sorry, ignore that.

I assumed, wrongly, that markup was visible because the nroff filter was 
not effective with mdoc markup.

Eventually I realised: it's normal for aspell to show filtered markup, 
and there _is_ a slight difference with the filter.


% cat /usr/src/share/man/man7/hier.7 | aspell list --mode=nroff 
--encoding utf-8 | sort | uniq | wc -l
      121
% cat /usr/src/share/man/man7/hier.7 | aspell list --encoding utf-8 | 
sort | uniq | wc -l
      133
% cat /usr/src/sbin/bectl/bectl.8 | aspell list --encoding utf-8 | sort 
| uniq | grep -e Cm -e Ns -e Pa
Ns
% cat /usr/src/sbin/bectl/bectl.8 | aspell list --mode=nroff --encoding 
utf-8 | sort | uniq | grep -e Cm -e Ns -e Pa
Ns
%


I guess, Cm is interpreted as short for C minor, and Pa as short for 
father.


["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic