Commit Graph

145 Commits

Author SHA1 Message Date
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
simonb 38a3de49cd Use a local implementation of htonl() called h2nl(). htonl() is not
available in all cross-compile environments.

Patches from Chris Demetriou.
2000-07-31 11:32:33 +00:00
mjl d9e9bbbcb4 After weeding out duplicate, modify entry to be mathematically
correct at least. (Yes, both were wrong. People can't integrate
nowadays anymore :)
2000-07-03 18:51:45 +00:00
mjl 217fd277fd Remove duplicate (and incorrect) entry. From Anton Berezin
<tobez@tobez.org> in FreeBSD PR/19670
2000-07-03 17:23:37 +00:00
mason caa691ec0a Offered horse brutality to a previously incorrect RHPS quote. 2000-06-30 04:04:09 +00:00
scw eaeb39f657 NetBSD: Ports to * boards. 2000-06-14 08:10:06 +00:00
jwise 7e7d991f01 Remove one of mine that really wasn't very good, and add:
NetBSD: abandon all hype, oh ye who enter here.
2000-06-07 14:04:45 +00:00
pooka c528cb8edd NetBSD - because Unix isn't just #include <linux.h>, i386, ELF, ...! 2000-05-02 11:41:24 +00:00
simonb 48a5c3efa9 Don't declare 'extern opt*' getopt variables. 2000-04-14 05:58:01 +00:00
simonb 915c06c281 Greatly simplify these by using <bsd.hostprog.mk>. Should do the same
for games/hack and games/monop and a few other places, but that requires
making subdirs for the tools.  One day...
2000-04-14 04:12:18 +00:00
soren 7e6625d720 Missing word. From Paul Janzen. 2000-04-11 03:45:40 +00:00
jwise b0cbfed510 Tyop fix. 2000-04-06 02:19:23 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
jwise 3626a95b76 fix tyop 2000-02-27 05:40:36 +00:00