> The problem with this, is that it ignores all but english languages. Shouldn't Groff have a more ergonomic alternative to `.tr` which is closer to the POSIX utility of the same name?
.translate [A-Z] [a-z] Being a Perl lover, I'd love nothing better than to have full-blown regex support within Roff, but honestly, I think we could all agree character-range support would be a welcome addition... I'd actually assumed .tr had character range support all along... :-( On Mon, 17 Dec 2018 at 18:34, Pierre-Jean Fichet < pierrejean.fic...@posteo.net> wrote: > > Hello alls, > > "G. Branden Robinson" <g.branden.robin...@gmail.com> wrote: > > +.ie \\$1 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ > > +.el .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz > > The problem with this, is that it ignores all but english languages. > "élément", for instance, would become "éLéMENT", which is the ugliest > thing you can get. And yes, there are man pages in french, and I believe, > in a lot of other languages. > > Cheers, > Pierre-Jean. > >