Introducing, a new deterministic url shortener for bsd man-pages

Constantine A. Murenin mureninc at
Mon Feb 18 02:38:09 PST 2013

On 18 February 2013 02:20, Max Herrgård <herrgard at> wrote:
> 18 feb 2013 kl. 11.11 skrev Constantine A. Murenin:
>> Some examples of supported addresses:
> Hah! Very cool :)


DragonFly actually has a 7 names over there. :-)

Lemme quote some snippets:

rewrite ^/DragonFly(BSD)?(/.*)?$        /d$2;
rewrite ^/dragonfly(bsd)?(/.*)?$        /d$2;
rewrite ^/d(ragon)?fly(/.*)?$   /d$2;

The rest of the BSDs only have 3: mixed case, lower case and the
single-letter, e.g.:

rewrite ^/FreeBSD(/.*)?$        /f$1;
rewrite ^/freebsd(/.*)?$        /f$1;

All the BSD names get rewritten to a single letter, and then the name
and section numbers are extracted.

NetBSD and OpenBSD also support specifying an architecture, like this: , or, alternatively, like this: .



More information about the Users mailing list