Commit Graph

284 Commits

Author SHA1 Message Date
hubertf 33a2a79b24 Attribute ``A language that doesn't affect the way you think about
programming is not worth knowing.'' to Alan Perlis, per Diomidis Spinellis'
blog at http://www.spinellis.gr/blog/20060424/
2006-06-24 13:32:45 +00:00
christos 2854829efb Remove dup Hitler fortune. One of the two fortunes I moved yesterday, was
already in the offensive set. From a NetBSD fan who prefers to be anonymous.
2006-05-17 14:47:58 +00:00
christos 4440541abb PR/33495: Daniel Weiss: Offensive quote in netbsd fortune package
- Move 2 offensive to women Adolf Hitler quotes to fortune2-o
- s/Adolph/Adolf/
2006-05-16 20:13:50 +00:00
christos 2576ae5fca Coverity CID 3269: Fix memory leak. 2006-05-13 22:28:04 +00:00
groo cdb6398a72 Credit Alan Perlis for ``give him a lollipop'' programming language quote.
Hat tip: Jerry Leichter.
2006-04-26 00:52:21 +00:00
snj bf5ceaae16 It's "its." 2006-04-24 18:00:53 +00:00
groo bfdee53d40 Grammar nit. Never mind that it's still not true. 2006-04-06 19:47:23 +00:00
christos df3594a46a Coverity CID 2735: Remove dead code. 2006-03-21 20:25:55 +00:00
christos f25329586b Coverity CID 827: Prevent NULL pointer deref. 2006-03-18 23:54:17 +00:00
christos 02549e79e2 Coverity CID 1699: Fix memory leaks. 2006-03-18 23:51:51 +00:00
christos ffe2beb426 Coverity CID 2544: Fix memory leak. 2006-03-18 23:44:05 +00:00
wiz 5fcd22e873 Remove duplicate and uncredited "Plan for the Improvement of English
Spelling", which is also in the file "fortunes".
2006-02-25 01:40:22 +00:00
jnemeth df4822d1f0 Correct The Hitchhiker's Guide to the Galaxy entry about dolphins as per
page 119 of the book.
2006-02-20 03:00:27 +00:00
mjl 7c7f1fe0ab Typos, duplicate words, consistent formatting. 2005-10-29 22:49:36 +00:00
mjl 4866f93355 Remove trailing spaces, double spaces between words, fix some typos. 2005-10-29 22:35:41 +00:00
mjl 6b25b3147c Correct typos. 2005-10-29 17:04:10 +00:00
cjs 24b202fa43 Comment from Al. 2005-07-23 08:01:38 +00:00
kleink e039a7f675 Otto Von Bismarck -> Otto von Bismarck. 2005-05-10 18:41:53 +00:00
bad b09ec2a25b It is Bismarck not Bismark. 2005-05-10 17:47:33 +00:00
rillig 4f6457e756 Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
atatat 460d82b8cc A few minor spelling, grammar, and formatting fixes. 2005-04-09 02:00:27 +00:00
jsm a4dab13a3b Correct typos in German fortune. Reported by Charles Senger, csenger at UCSD.
Reviewed by <hubertf>.
2005-01-30 13:49:28 +00:00
dsl 49f7d8a9b1 Add (unsigned char) cast to ctype functions 2004-11-05 21:30:31 +00:00
wiz f4d1c39625 Indent header description (from jmc@openbsd).
Sort sections and remove a trailing space.
2004-09-09 22:03:21 +00:00
wiz 8dab296315 Some improvements from jmc@openbsd:
sort option descriptions, add argument to -m, mention strfile
and add some xrefs.
2004-09-09 22:01:08 +00:00
mjl d2da97557b Fix typo 2004-08-20 11:23:47 +00:00
mjl 3cb55d86f4 Had fun with a spell checker.
Also, try to canonize attributions.
2004-05-22 14:33:50 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
snj e2462f3ddb It's "its". 2004-03-29 07:59:39 +00:00
snj a7b3f75db2 Spell "political" correctly and capitalize a last name. 2004-03-29 02:00:41 +00:00
wiz dc4cc98b15 becuase -> because. From Peter Postma. 2004-02-24 15:05:53 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
jsm 10b61a7cca Mark unused parameters, nonreturning functions and format functions in
the few cases not already marked.
2004-02-08 22:23:50 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
jsm b974cbaba0 Include <sys/endian.h> instead of <machine/endian.h>. Include
<stdlib.h>.
2004-01-27 20:25:07 +00:00
jsm a3b9fbcc3a Include <sys/endian.h>. 2004-01-27 20:24:32 +00:00
mjl 70bd83f0c5 Typo fixes. 2004-01-01 20:00:38 +00:00
jsm 23e0e03d00 Return proper fortune length from fortlen for fortune files without
STR_RANDOM or STR_ORDERED rather than comparing it to SLEN.  Bug
reported by Simon Williams <simon@no-dns-yet.org.uk>.
2004-01-01 16:02:07 +00:00
jsm cdce4b2c55 Show residual probability rather than non-residual in "No place to put
residual probability" error message.  Distribute residual probability
correctly rather than all to one file.  Patch from Mike Castle
<dalgoda@ix.netcom.com>.
2004-01-01 16:01:25 +00:00
jmc 4d9cb8213a Hobbes was misspelled. PR#23301 2003-10-29 04:53:39 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem ddff99b7f4 rework to use the newer _MKMSGCREATE (et al) macros 2003-10-19 04:45:01 +00:00
lukem 2b8c8463a6 Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages) 2003-10-19 01:01:44 +00:00
jdolecek 330f3d1e19 sort recently added entries
pointed out by Valeriy E. Ushakov on source-changes
2003-09-20 18:57:28 +00:00
jdolecek 1f4caa5ecd add mine:
``NetBSD - no propaganda in the default system, in more than 10 years!''
2003-09-20 09:21:25 +00:00
salo f7f6feea75 Add missing ". From Tim Goodwin via PR misc/22843. 2003-09-18 11:25:00 +00:00
uwe 6d126df0a6 M-x sort-paragraphs 2003-09-14 21:36:51 +00:00
uwe e1775b35e0 "NetBSD - We sell rope." 2003-09-14 21:34:51 +00:00
agc e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
mjl e1da921bcf Remove double spaces between words 2003-05-08 18:12:24 +00:00
mjl ffc1b6dbc9 uniq. 2003-05-08 17:51:12 +00:00
mjl 46e0a4e1f1 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:25:48 +00:00
mjl 386e6f0451 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:01:04 +00:00
mjl 7acf0f4592 Sort and remove duplicates. 2003-05-08 16:37:45 +00:00
mjl 844a2d0e52 Pull in corrections from Free/OpenBSD.
Also move limericks to limerick file.
2003-05-08 16:20:25 +00:00
mjl d6bcb9629a Pull in corrections from Free/OpenBSD. 2003-05-08 14:53:08 +00:00
mjl 8c2a9c1fcb Merge in corrections/additions from Free/OpenBSD. 2003-05-08 14:27:10 +00:00
mjl cf844e8134 Merge in corrections from Free/OpenBSD. 2003-05-08 14:14:32 +00:00
mjl b7a00e9b8a Typo fix. From FreeBSD PR/51909. 2003-05-07 19:00:13 +00:00
jdolecek 50162d1023 add a fortune contributed by Petter "Nosfisk" Lindquist in PR misc/21070
a nice one - thanks!
2003-04-08 19:41:08 +00:00
briggs 50f21b17a9 Some might call them the Wright Bothers, but I prefer Wright Brothers. 2003-03-20 13:46:40 +00:00
mjl 9e1556de76 My god, it's full of typos (still is). 2003-01-18 11:44:11 +00:00
wiz a3213b9aee bandwidth, not bandwith. 2003-01-17 23:58:55 +00:00
christos 9b564aed06 Fix bogon in compat re code. 2002-11-24 18:03:14 +00:00
hubertf c2a9a1e356 NetBSD - love all, serve all.
-- Silke Mueller
2002-11-21 15:06:14 +00:00
drochner d8d514fbfc fix duplicate limerick-o in CLEANFILES 2002-10-22 16:14:04 +00:00
wiz c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
wiz 875690e96c Ispell. 2002-09-26 16:29:25 +00:00
lukem bcf4617b61 some makefile de-linting 2002-09-18 06:16:39 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
grant 8584a77223 add the following quote from elric@.. (with permission, of course)
I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
		-- Roland Dowdeswell
2002-07-08 02:34:20 +00:00
itojun 2f9ca37900 backout previous (arc4random), per request from sommerfeld 2002-07-01 20:55:30 +00:00
itojun e9e21a77eb use arc4random 2002-07-01 14:51:52 +00:00
pooka ca3913421d remove the attributions from my slogans. they kept popping up in
awkard places
2002-05-18 10:17:32 +00:00
uwe 7c7d2ceb59 NetBSD/toaster: we wish the toaster to be happy too.
(Idea by Rafal, though he denies that)
2002-05-17 02:21:20 +00:00
hubertf de06b5e706 #netbsd - where monks recite their internal dialogue while debugging.
-- Bernhard Riedel
2002-05-17 00:20:01 +00:00
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