暗无天日

=============>DarkSun的个人博客

funny-manpages

在AUR上发现一个有趣的package,叫做 funny-manpages

yaourt -S funny-manpages

funny-manpages收集了很多搞笑的man pages。

pacman -Ql funny-manpages |grep gz
funny-manpages /usr/share/man/man6/baby.6fun.gz
funny-manpages /usr/share/man/man6/celibacy.6fun.gz
funny-manpages /usr/share/man/man6/condom.6fun.gz
funny-manpages /usr/share/man/man6/date.6fun.gz
funny-manpages /usr/share/man/man6/echo.6fun.gz
funny-manpages /usr/share/man/man6/flame.6fun.gz
funny-manpages /usr/share/man/man6/flog.6fun.gz
funny-manpages /usr/share/man/man6/gong.6fun.gz
funny-manpages /usr/share/man/man6/grope.6fun.gz
funny-manpages /usr/share/man/man6/party.6fun.gz
funny-manpages /usr/share/man/man6/rescrog.6fun.gz
funny-manpages /usr/share/man/man6/rm.6fun.gz
funny-manpages /usr/share/man/man6/rtfm.6fun.gz
funny-manpages /usr/share/man/man6/sex.6fun.gz
funny-manpages /usr/share/man/man6/strfry.6fun.gz
funny-manpages /usr/share/man/man6/tm.6fun.gz
funny-manpages /usr/share/man/man6/uubp.6fun.gz
funny-manpages /usr/share/man/man6/xkill.6fun.gz
funny-manpages /usr/share/man/man6/xlart.6fun.gz

这些man page以搞笑的方式解释了很多名词,比如关于baby的解释:

man baby
BABY(1)                     General Commands Manual                    BABY(1)

NAME
       baby — create new process from two parents

SYNOPSIS
       baby -sex [m|f] [-name name]

DESCRIPTION
       baby  is initiated when one parent process polls another server process
       through a socket connection in the BSD version or through pipes in  the
       System  V  implementation.  baby runs at low priority for approximately
       forty weeks and then terminates with a heavy system load.  Most systems
       require  constant monitoring when baby reaches its final stages of exe‐
       cution.

       Older implementations of baby did not require both initiating processes
       to  be present at the time of completion.  In those versions the initi‐
       ating process which was not present was awakened and  notified  of  the
       results  upon  completion.  It has since been determined that the pres‐
       ence of both parent processes result in a generally lower  system  load
       at  completion,  and  thus  current versions of baby expect both parent
       processes to be active during the final stages.

       Successful completion of baby results in the creation and naming  of  a
       new  process.   Parent  processes  then broadcast messages to all other
       processes, local and remote, informing them of their new status.

OPTIONS
       -sex   define the gender of the created process

       -name  assign the name name to the new process

EXAMPLES
              baby -sex f -name Jacqueline

       completed successfully on July 9, 1992 at 9:11pm.   Jacqueline's  vital
       statistics:  8  pounds  3  oz,  20  inches, long dark hair.  The parent
       process, Kim Dunbar, is reportedly doing fine.

SEE ALSO
       cigar(6), dump(5), cry(3).

BUGS
       Despite its complexity, baby only knows one signal, SIGCHLD, (or SIGCLD
       in  the  System  V implementation), which it uses to contact the parent
       processes.  One or both parent processes must  then  inspect  the  baby
       process to determine the cause of the signal.

       The  sleep(1) command may not work as expected on either parent process
       for some time afterward, as each new instance of baby  sends  intermit‐
       tent  signals to the parent processes which must be handled by the par‐
       ents immediately.

       A baby process will frequently dump core, requiring either or both par‐
       ent processes to clean up after it.

       Despite  the reams of available documentation on invoking and maintain‐
       ing baby, most parent processes are overwhelmed.

AUTHORS
       From a man page by Joe Beck, <beck@cs.ualberta.ca>.

                                                                       BABY(1)

你会发现它的格式跟正统的man是一样的,查看方法也是一样用 man XXX 来查看,不过,认真你就输了 ;)