Hi, Jason McIntyre wrote on Wed, Aug 14, 2013 at 09:59:45AM +0059: > On Tue, Aug 13, 2013 at 11:59:13PM +0200, Jan Stary wrote:
>> The diff below replaces the occurences of "BSD" >> in the manpages with the .Bx macro where appropriate. >> (Some might be overkill though.) [...] >> /usr/src/share/man/man7/mdoc.7 which describes .Bx and others >> does not itself use .Bx and others - for example, it says >> >> .Ss \&Bx >> Format the BSD version provided as an argument ... >> >> instead of >> >> .Ss \&Bx >> Format the >> .Bx >> version provided as an argument ... >> >> Is this on purpose? I doubt Kristaps did that on purpose, i wouldn't see the point. In particular for documenting a macro, using it is a sane approach. > probably needs changed, but i'll ask. Patch committed, along with a few similar cases in the same manual page. >> This replacement should probably be done for >> other system names as well (occurences of >> "BSD/OS" not done with .Bsx etc). Occasionaly, >> SunOS is mentioned which does not have its own macro. >> Would it make sense to have one? >> Similarly for HP-UX, IRIX ... No. Text production macros for short text are somewhat silly in general, so we certainly don't want to add more. They just pollute the name space. Deprecating and removing the existing ones probably isn't worth the hassle, either. At least those that do exist refer to important free OS releases, so they are marginally useful for searches with the upcoming mandocdb(8)/apropos(1) combo. Marginally. That's certainly something that isn't needed for commercial releases. > well, it'd be non-portable (unless groff already has macros for this > stuff). It hasn't, but i guess talking the groff people into it might be easier than talking me into it. GNU is more prone to clutter up interfaces than OpenBSD, you know. ;-) Yours, Ingo

