shithub: riscv

Download patch

ref: 58e8b78ffdfaaf2e5e1abd7871e76c5427ed6c29
parent: 3202d39042623467db4bf51cb583e191f3aa54d2
author: stanley lieber <[email protected]>
date: Thu Jul 21 10:18:08 EDT 2011

troll: import

--- /dev/null
+++ b/rc/bin/troll
@@ -1,0 +1,2 @@
+#!/bin/rc
+fortune /sys/games/lib/trolls
--- /dev/null
+++ b/sys/games/lib/trolls
@@ -1,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
--- a/sys/man/1/fortune
+++ b/sys/man/1/fortune
@@ -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 @@
 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.