Hi! On 4/20/23 16:13, наб wrote: > Hi! > > On Thu, Apr 20, 2023 at 03:03:24PM +0200, Alejandro Colomar wrote: >>>> diff --git a/man2/adjtimex.2 b/man2/adjtimex.2 >>>> index 523347de2..40b05cb0e 100644 >>>> --- a/man2/adjtimex.2 >>>> +++ b/man2/adjtimex.2 >>>> @@ -90,7 +90,7 @@ the constants used for >> BTW, another thing you might find useful is this: >> >> $ cat ~/.config/git/attributes >> *.[1-8]* diff=man >> >> And then in your .gitconfig: >> >> [diff "man"] >> xfuncname = "^\\.S[SH] .*$" > That's great tech, thanks. > >> You may want to use a regex that also works for mdoc(7). > mdoc uses .Sh and .Ss, so: > xfuncname = "^\\.S[SHsh] .*" Thanks! I improved my config file :-) [1] Best, Alex [1]: <http://www.alejandro-colomar.es/src/alx/alx/config.git/commit/?id=4e772e3e3fe0785d773cf702b115dfc3d20d90d5> > > Best, -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature