From 58e8b78ffdfaaf2e5e1abd7871e76c5427ed6c29 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Thu, 21 Jul 2011 14:18:08 -0500 Subject: [PATCH] troll: import --- rc/bin/troll | 2 ++ sys/games/lib/trolls | 6 ++++++ sys/man/1/fortune | 19 ++++++++++++++++++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 rc/bin/troll create mode 100644 sys/games/lib/trolls diff --git a/rc/bin/troll b/rc/bin/troll new file mode 100755 index 000000000..f114cce63 --- /dev/null +++ b/rc/bin/troll @@ -0,0 +1,2 @@ +#!/bin/rc +fortune /sys/games/lib/trolls diff --git a/sys/games/lib/trolls b/sys/games/lib/trolls new file mode 100644 index 000000000..ddd7c42f1 --- /dev/null +++ b/sys/games/lib/trolls @@ -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 diff --git a/sys/man/1/fortune b/sys/man/1/fortune index dfae7186a..96349ebef 100644 --- 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 @@ 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.