troll: import
This commit is contained in:
parent
3202d39042
commit
58e8b78ffd
3 changed files with 26 additions and 1 deletions
2
rc/bin/troll
Executable file
2
rc/bin/troll
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/rc
|
||||
fortune /sys/games/lib/trolls
|
6
sys/games/lib/trolls
Normal file
6
sys/games/lib/trolls
Normal file
|
@ -0,0 +1,6 @@
|
|||
i'm so glad i live in europe and not america
|
||||
azns are such shitty drivers, they should all go back to wherever the fuck they came from and smash each others' cars there
|
||||
the wii is actually a pretty technically-advanced console compared to the ps3
|
||||
lighttpd is a great drop-in replacement for apache
|
||||
you shouldn't really run hdd speed tests under plan9 because the controller drivers are hacked-together open-source shit, something closed-source but official like windows would give a more accurate result
|
||||
the british empire had the right idea when they enslaved all those damn niggers
|
|
@ -1,11 +1,16 @@
|
|||
.TH FORTUNE 1
|
||||
.SH NAME
|
||||
fortune \- sample lines from a file
|
||||
fortune, troll \- sample lines from a file
|
||||
.SH SYNOPSIS
|
||||
.B fortune
|
||||
[
|
||||
.I file
|
||||
]
|
||||
.br
|
||||
.B troll
|
||||
[
|
||||
.I file
|
||||
]
|
||||
.SH DESCRIPTION
|
||||
.I Fortune
|
||||
prints a one-line aphorism chosen at random.
|
||||
|
@ -14,10 +19,22 @@ If a
|
|||
is specified, the saying is taken from that file;
|
||||
otherwise it is selected from
|
||||
.BR /sys/games/lib/fortunes .
|
||||
.LP
|
||||
.I
|
||||
Troll
|
||||
is more specific than
|
||||
.I fortune;
|
||||
it specializes in inflammatory rhetoric.
|
||||
.SH FILES
|
||||
.B /sys/games/lib/fortunes
|
||||
.br
|
||||
.B /sys/games/lib/fortunes.index
|
||||
\ \ fast lookup table, maintained automatically
|
||||
.br
|
||||
.B /sys/games/lib/trolls
|
||||
.SH SOURCE
|
||||
.B /sys/src/cmd/fortune.c
|
||||
.br
|
||||
.B /rc/bin/troll
|
||||
.SH AUTHORS
|
||||
Some initial trolls were provided by ChrisPBS.
|
||||
|
|
Loading…
Reference in a new issue