Commit Graph

158 Commits

Author SHA1 Message Date
pooka
ffbee2115d Raiders of the Lost Arch 2002-05-12 16:27:59 +00:00
christos
4733c0cfff PR/15878: Ed Ravin: fortune all frees junk pointers. Fixed, free structure
members before freeing the structure itself.
2002-03-12 15:20:14 +00:00
wiz
37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
tv
5061395b91 Don't put [] around the strings passed to tr -- those can be interpreted
by shells.  Just quote 'em.
2002-01-30 19:41:39 +00:00
pooka
b3714941a4 few entries more 2002-01-10 15:31:04 +00:00
soren
dc53bf3cba Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
tv
a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
1f1e26bd6d Presence looks better with a 'c' instead of an 's'. 2001-11-21 19:01:31 +00:00
wiz
a58e0c8a53 Undo indentation glitch in previous. 2001-10-28 19:52:53 +00:00
proff
20d62e03c5 improve random number seeding 2001-10-28 19:47:48 +00:00
mjl
ccc06ff4fc Add one. 2001-10-22 00:55:00 +00:00
proff
1c37cc593d Fortune is not moribund.
Add Farberisms from Prof. Dave Farber.

From: David Farber <dave@farber.net>
To: proff@iq.org (Julian Assange)
Date: Sat, 20 Oct 2001 03:29:08 -0400
Subject: Re: farberisms

Fine with me

At 02:27 PM 10/20/2001 +1000, you wrote:


>Hi Dave,
>
>I've just come accross your list of `Farberisms', which had me in
>stiches. As these are deliciously `fortune'esqe, I'd like to add
>them to the NetBSD distribution. Do you have any objections?
>
>Cheers,
>Julian.
2001-10-20 09:33:39 +00:00
mjl
e854950bda More quote cleanup. Remove a fortune that also is in -o.
Add a couple of fortunes I had lying around.
2001-09-01 22:30:54 +00:00
mjl
30e1428afa Some more quotes removed. Corrected errors noticed by Andrew Brown
<atatat@atatdot.net>.
2001-09-01 21:28:28 +00:00
mjl
a486f7fbc9 Fix typos and spelos. Add and correct some attributions. Add a
couple of fortunes. Canonize quotes. Remove duplicate fortunes.
Correct author names.
Mostly from FreeBSD and OpenBSD.
2001-09-01 19:35:32 +00:00
simonb
ba96ebc2fd Match quotes. 2001-08-31 00:17:45 +00:00
mjl
7312906ef0 Remove duplicate fortunes. 2001-08-31 00:10:17 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
atatat
60564f8ed0 Change -a to mean all files, as opposed to just a few more files.
Modify the regex handling so that we can match fortunes in rot13'ed
databases (rot13 the pattern and maintain a second compiled pattern)
and rot13 the rot13'ed fortune before output.

Move the rot13 code to a function since it's now used in three places
instead of just one.

Initialize posfile in one place since it appears to get used without
being initialized when using debugging.

Make a *slight* improvement to the random seeding by squaring the pid
and then xor'ing against the current time, since just xor'ing the time
with the pid will not change if they both advance by one from "odd" to
"even".
2001-08-15 17:25:42 +00:00
wiz
a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
mason
8b7b300873 s/Upon you knees if you appear/Upon your knees if you appear/
Confirmed against <http://www.alcyone.com/max/lit/devils/>.
2001-06-24 23:25:19 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
christos
ebe68eb4f9 Overhaul error handling and reporting for regular expressions.
Provide a RE_OK() macro that tests if the current compiled pattern
works and a RE_ERROR() macro that prints what went wrong as well
as the particular RE implementation can handle.
2001-06-04 21:21:42 +00:00
aymeric
37e6eb8fe5 Bail out when regex pattern is invalid if using regcomp or regcmp.
Remove trailing \n's also.

Addresses PR#13109
2001-06-04 20:56:56 +00:00
abs
d590e6f410 Its is Dr. Elizabeth Dehner, not Dehaver.
From the vast and bewildering trek trivia of norm@sandbox.org.uk
2001-05-02 10:42:34 +00:00
pooka
e1d6858626 NetBSD: You choose the hardware, we'll bring the OS.
from David Brownlee on netbsd-advocacy

While I'm in here, sort the file using tools/do_sort to get the recently
added fortunes into order.
2001-04-21 23:11:30 +00:00
hubertf
1bbc6b0055 Some entries from Richard Rauch, posted on netbsd-advocacy. 2001-04-21 14:49:08 +00:00
wiz
8a84240a6e Whitespace and/or punctuation fixes. 2001-04-02 22:47:29 +00:00
cgd
668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
pooka
e2ced2d617 kill dupe 2001-02-10 18:14:13 +00:00
simonb
73c32f039c Fix simple typo. From bdc@world.std.com in PR misc/12150. 2001-02-07 22:59:19 +00:00
christos
a2bee8edad fix nested extern and usage message 2001-02-05 00:29:44 +00:00
mjl
bdb00d0bd7 Tyop: foresight, not forsight (FreeBSD PR/24637) 2001-01-30 00:25:30 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
lukem
de3e6adaf6 use more standard %ll_ in favour of %q_ 2001-01-04 17:24:35 +00:00
sommerfeld
83454472f9 ${PRINTOBJDIR}ify 2000-12-30 17:51:26 +00:00
mycroft
9fcf4550a2 Another one that really belongs here... 2000-12-17 10:08:08 +00:00
mycroft
34fedde795 Compress the other entries vertically. 2000-12-17 09:35:21 +00:00
mycroft
562421c4f3 Reformat one entry for vertical space. 2000-12-17 09:25:38 +00:00
mycroft
c1647142f9 Yes, it's about damn time fortune(6) got some new material. 2000-12-17 09:17:51 +00:00
lukem
51ea0cba47 remove unnecessary command name after .Nm 2000-11-07 05:51:54 +00:00
mrg
f601feea40 fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
2000-10-31 13:27:56 +00:00
hubertf
42f9d6c1e4 NetBSD will put hair on a UNIX admin's chest
-- Jason R. Fink
2000-10-09 00:58:16 +00:00
mjl
b1342ea8af Removed duplicate entry. Fixes FreeBSD PR/21629. 2000-09-29 00:40:40 +00:00
abs
90a84d2445 If we install limerick-o.dat, we should also install limerick-o to make it
usable.
2000-08-17 16:54:28 +00:00
abs
5b783e3f48 Split netbsd fortunes into offensive and non offensive.
Split could be considered somewhat arbitrary.
2000-08-17 16:48:52 +00:00
abs
ad603791f5 NetBSD: A pmap for every occasion 2000-08-17 16:27:38 +00:00
mason
a6cd58daee Corrected quote. It was totally missing its (well-known) equivalent of
a punch line.
2000-08-12 23:04:15 +00:00
ad
689c315829 Add 3 from me. 2000-07-31 11:38:21 +00:00