Commit Graph

941 Commits

Author SHA1 Message Date
ru
6b61b76573 An aggressive little script I used to trim out duplicate fortunes. 2005-02-07 21:15:16 +00:00
ru
a75ee2a221 Trim more cookies, by playing with different hash functions,
e.g., by trimming all non-alphabet characters and whitespace,
converting to lowercase, and considering only first (or last)
N letters (maybe only consonants).  The fortune editor then
displays all fortunes that have the same hash, and allows to
remove one of them.  The rest is written to stdout.
2005-02-07 21:00:20 +00:00
schweikh
97c405701b s/worman/woman/ 2005-02-03 22:48:29 +00:00
ru
c6f5812d65 Ignore consonants, and remove more duplicates. 2005-02-03 10:54:07 +00:00
ru
1bd82eeb1a Removed more duplicates (forgot to ignore underscore). 2005-02-03 09:44:30 +00:00
ru
e410ad5b88 Keep the fortune above this.
Reviewed by:	sheldonh
2005-02-03 09:28:45 +00:00
ru
b6d7ee4192 Remove more duplicates. 2005-02-03 09:27:01 +00:00
ru
abc26f1187 Ignore vowels, and remove more duplicates, mostly due to typos. 2005-02-03 09:13:02 +00:00
des
9341db929e Trim some obnoxious warlording. 2005-02-03 08:47:14 +00:00
ru
08e94789ea Removed more duplicates, by ignoring "i", "you", "we",
"an", "is", "are", "will", "'ll", "is", "'s" to find
them.  More to follow...
2005-02-03 08:40:08 +00:00
ru
bd95b6c7e0 Merged fortunes with fortunes2.
Sort fortunes (except for the first entry).
2005-02-03 00:20:37 +00:00
ru
4bfd722d37 Fix bugs.
Due to one of the bugs (^C was the first character of each line
when sorting), the -b option of sort(1) didn't take any effect,
so stay bug-compatible, and remove the -b option.
2005-02-03 00:18:06 +00:00
ru
e5d427bd13 Removed 1695 fortunes also found in fortunes2. 2005-02-02 10:24:11 +00:00
ru
f491448674 Ignore case and all non-word characters, and remove more duplicates. 2005-02-01 16:34:38 +00:00
pav
e4c54aac83 - Add few lines from my personal signature file
Suggested by:	Florent Thoumie
Approved by:	mux
2005-02-01 16:22:44 +00:00
smkelly
452c78e080 Remove another duplicate fortune. 2005-02-01 15:48:48 +00:00
ru
1b0f577b0d Removed full duplicates that only differ in amount of whitespace
and line breaks.
2005-02-01 15:15:33 +00:00
des
7905572ab1 Remove a duplicate. 2005-02-01 14:10:41 +00:00
wilko
c5c34ae422 s/principals/principles/
Fortune was duplicated, remove one copy.
2005-01-22 20:00:50 +00:00
grog
48aecee0a9 Add comment on current state of hardware documentation.
Submitted by: philip
2005-01-19 23:34:25 +00:00
phk
8e249383f9 Remove committer-specific entry. 2005-01-18 11:52:19 +00:00
ru
5fca3d26af Sort sections. 2005-01-18 08:57:18 +00:00
phk
9d81809b59 Minor bit of advice. 2005-01-17 10:06:12 +00:00
dougb
eabaebb00d 1. s/women/woman/ when the singular is intended
2. Remove some duplicates
3. Slightly improve a punch line, "and then cut off her head"
instead of "and cut her head off."
2005-01-11 00:25:38 +00:00
schweikh
1271aa3500 Correct two typos in almost identical fortunes. 2005-01-10 12:03:32 +00:00
josef
758ffb0989 There is a better way to find out whether a port is installed or not. 2005-01-03 14:17:23 +00:00
schweikh
137fcb142b Correct two typos; remove a duplicate. 2004-12-30 12:18:30 +00:00
wilko
dd331cd3f0 "3 hands" 2004-12-24 12:59:26 +00:00
ru
f4c44b761b NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
dds
d433895d19 From Richard W. Hamming ``You and Your Research''
Transcription of the Bell Communications Research Colloquium Seminar
7 March 1986 by J. F. Kaiser:

        There are wavelengths that people cannot see, there are
sounds that people cannot hear, and maybe computers have thoughts
that people cannot think.
2004-12-11 21:57:27 +00:00
dds
d2e24b3cd0 The Ken Thompson school of thought on expert systems:
there's table lookup, fraud, and grand fraud.
                -- Andrew Hume

USENIX'04 Technical Conference, reported by Adam S. Moskowitz
;Login: 29(5):49, October 2004.
2004-11-27 08:28:58 +00:00
schweikh
b0d5a70a33 s/Here about/Hear about/ and sort accordingly. 2004-11-12 10:15:43 +00:00
wilko
26ee4cc617 Never be afraid to try something new. Remember, amateurs built the ark.
Professionals built the Titanic.
2004-10-27 20:28:56 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
phk
04d44d95de Improve accuracy of last addition, as best Google advices me. 2004-10-22 19:59:37 +00:00
phk
a13f06ffb3 I'm surprised this one was not here yet.
To save you all a trip to CVSWEB:

Experts have correctly predicted nine out of the last five recessions.
               -- Paul Samuelson,  Nobel laureate in economics.
2004-10-22 16:18:15 +00:00
stefanf
0de63fceef Properly initialise 'filename' so that random -l doesn't try to open NULL.
Const-qualify 'filename' to avoid a strdup() call due to -Wwrite-strings
silliness.
2004-10-03 15:34:15 +00:00
wilko
2411b47f68 The state that separates its scholars from its warriors will have its
thinking done by cowards, and its fighting by fools. - Thucydides
2004-09-29 19:52:19 +00:00
blackend
35b7b725a8 Fix make search entries.
PR:		docs/70899
Submitted by:	Marc Silver <marcs@draenor.org>
2004-08-24 11:30:28 +00:00
blackend
894378ef71 s/the on/on the/
PR:		misc/70842
Submitted by:	Sean C. Farley <sean-freebsd@farley.org>
2004-08-23 11:00:20 +00:00
des
ca124b900b Immortalize the words of a -current reader. 2004-08-20 13:39:28 +00:00
rwatson
59e82281fe Add a useful snippet on limitations of inductive reasoning by Bertrand
Russell.
2004-08-15 19:24:17 +00:00
schweikh
138982e99c Correct grammo. 2004-08-14 06:29:17 +00:00
stefanf
b1d8596587 Include <stdlib.h> for exit(), use prototypes and bump WARNS to 6. 2004-08-01 18:52:40 +00:00
des
04b2cac222 The name of the landlord in Shaw's _The Man of Destiny_ is Giuseppe (not
Guiseppe) Gandi.

Submitted by:	Massimiliano Stucchi <stucchi@willystudios.com>
MFC after:	3 days
2004-07-26 21:18:58 +00:00
le
3654de90d4 Make this WARNS=3 clean.
PR:            bin/38931
Submitted by:  Giorgos Keramidas <keramida@freebsd.org>
2004-07-23 11:36:35 +00:00
le
c05d3eafae Fix typos.
PR:            misc/67586
Submitted by:  Paul A. Hoadley <paulh@logicsquad.net>
2004-07-20 08:32:42 +00:00
le
c844209ee5 Fix whitespace and punctuation.
PR:            misc/49967
Submitted by:  Sean C. Farley <sean-freebsd@farley.org>
2004-07-20 08:28:28 +00:00
le
a93503b196 Remove duplicate fortunes and fix some typos.
PR:            misc/45839
Submitted by:  Philipp Mergenthaler
               <philipp.mergenthaler@stud.uni-karlsruhe.de>
2004-07-20 08:19:51 +00:00
stefanf
77a4e4e421 Resolve a couple of warnings and bump WARNS to 6. 2004-07-11 17:26:18 +00:00
ru
debcc07b3a Mechanically kill hard sentence breaks. 2004-07-02 21:16:38 +00:00
ru
6f7eb14978 mdoc(7): Correct the type of the display. 2004-07-02 21:15:48 +00:00
wollman
b4fb293e24 Add a Nicollism. 2004-06-24 03:08:44 +00:00
phk
45cfffa8ac Discontinue use of old libcompat regexp routines. 2004-06-21 16:07:30 +00:00
schweikh
dad6e10cd3 Correct assorted typos and grammos. 2004-06-10 21:03:34 +00:00
des
92c9a57d01 Consistently credit President Truman as Harry S. Truman. 2004-06-01 09:45:16 +00:00
dougb
e2c87d8b84 Update the "All I really need to know I learned in kindergarten" entry
by using the text from the Villard Books edition (1989, pages 6 through
8) and formatting to fit in 72 columns.
2004-06-01 05:00:46 +00:00
dougb
e021509ce5 * Reformat several attributions according to ../Notes (mostly whitespace)
* Spell out some names that were pointlessly abbreviated
* Remove a couple of incidental duplicates
* Harry Truman had no actual middle name. The initial "S" was added to his
name to make him appear more statesmanlike. Therefore it's not usually punctuated.
* Format a couple of actual fortunes to fit into 72 columns
2004-06-01 04:32:11 +00:00
dougb
d8ee4c34cb Remove duplicates of the "wherever you go, there you are" fortune,
quote directly from the movie, and give a better attribution (with
correct spelling) for Buckaroo Banzai.
2004-06-01 00:16:32 +00:00
wollman
872786a58d Definition of recursion. 2004-05-25 19:15:02 +00:00
schweikh
b482f392a5 Added forgotten quotes for citations. 2004-05-20 08:15:58 +00:00
ru
fba1b06a6b Markup fixes. 2004-05-16 21:52:48 +00:00
ru
3e3e3d8475 Really add -l to the usage output. 2004-05-16 21:49:23 +00:00
fanf
9259fe34cc I *knew* it would be a bad idea to touch the fortunes. *sigh*
Submitted by:	Kevin Oberman <oberman@es.net>
Pointy hat to:	me, again
2004-05-11 17:43:36 +00:00
fanf
7e021c2452 Pedantry.
Submitted by:	njl@
2004-05-11 17:26:16 +00:00
dds
104658ee3e Add Greek character encoding suport.
MFC after:	2 weeks
2004-05-11 11:11:14 +00:00
fanf
513cf0367d On the signs of network congestion.
Submitted by:	Simon Tatham <anakin@pobox.com>
2004-05-11 10:00:14 +00:00
fanf
8169074470 Re-sort 2004-05-10 23:02:07 +00:00
fanf
14ba243beb Moore's law vs. Nethack
Submitted by:   Simon Tatham <anakin@pobox.com>
2004-05-10 23:00:26 +00:00
cperciva
91483de01f Fix grammar to make it correctly wrong. 2004-04-29 06:14:00 +00:00
smkelly
d78a9de690 Add a new fortune from petef.
Obtained from: petef
2004-04-29 04:36:36 +00:00
imp
45c4ca11d3 Add jerk city commentary on C++. 2004-04-27 22:32:02 +00:00
grog
4a6438f25a Add a Dijkstra comment on programming languages. 2004-04-21 22:39:46 +00:00
ceri
aef0c8e553 Don peril-sensitive sunglasses and correct the spelling of ukulele.
"Ukulele" is the canonical term, with "ukelele" being a derivation.
Also there is some evidence that the original appearance of the quote
had the spelling "ukulele", although anyone who has a copy of Esquire
from March 1967 is welcome to prove me wrong.

PR:		bin/65626
Submitted by:	Gavin Atkinson <gavin@ury.york.ac.uk>
2004-04-20 19:20:17 +00:00
grog
fd4191a431 Add an observation by Dijkstra software engineering. 2004-03-22 05:02:01 +00:00
bde
2edbbfbff4 Fixed a mispelling of 0 as NULL. 2004-03-14 05:28:29 +00:00
fanf
24496b18b5 Label @ as being AC (since it's constructed like a prosign).
Submitted by:	des
2004-02-20 13:46:39 +00:00
fanf
39aa73fd6d Add some missing punctuation symbols, in particular @ which (according to
a recent Press Association release) was added to Morse code by the ITU in
December. @ was previously used for the SK prosign, which is now spelt &.

Obtained from:  http://en.wikipedia.org/wiki/Morse_code
2004-02-20 11:55:38 +00:00
cperciva
dba5418199 Fix misspellings in the freebsd-tips fortunes. The same PR has
a patch to mention portupgrade in freebsd-tips as well; I'm not
sure if that belongs here, so I'll leave it for someone else.

PR:		misc/37073
Submitted by:	Sean Chittenden <sean@chittenden.org>
Approved by:	rwatson (mentor)
2004-02-18 05:18:27 +00:00
wes
a763f85517 Too good to miss.
Wisdumb by:	Danno Coppock <danno@ipinc.com>
2004-02-09 18:45:25 +00:00
ru
743cc6d002 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
schweikh
996a053df7 "The Aged Aged Man" was not a word doubling.
Spotted by:	grog
2004-01-19 21:22:21 +00:00
phk
75a46d9023 typo, duh! 2004-01-13 08:00:55 +00:00
phk
c52adee7f0 This is simply too true to not become a fortune.
Wisdom by:	wes
2004-01-13 07:36:17 +00:00
blackend
4ce6889968 Add a tip on how to print a manual page.
PR:		docs/61033
Submitted by:	mi@
2004-01-07 19:49:12 +00:00
ceri
17cbb0b2fc Stop "fortune -l" from looping forever.
PR:		bin/58730
Submitted by:	pak <pak@cns.utoronto.ca>
2003-12-27 16:04:41 +00:00
schweikh
c6baaab590 Fix all cases of unintended word doublings (the the, and and, ...) and a
few typos.
2003-12-26 21:32:47 +00:00
des
560fd10b55 Use WARNS level 2 instead of setting CFLAGS explicitly to -Wall. 2003-12-07 17:34:52 +00:00
phk
4ce13c1db4 A too good Feynman quote to pass up. 2003-12-07 10:03:20 +00:00
phk
bba6b06ef4 Add a card carryring member of the Pointless Comparison Collection. 2003-11-12 20:08:47 +00:00
wilko
d31466d172 reformat HP eng. mgr quote
Requested by: nate
2003-11-10 23:08:39 +00:00
roam
a69e97d1cc Fix a typo: 'in cloud' -> 'in a cloud'.
PR:		58909
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	1 week
2003-11-04 09:21:59 +00:00
phk
a401023210 Add a '-l' option suitable for use with /dev/led/* lamps. 2003-11-03 11:05:43 +00:00
phk
947a627bb5 Addition. 2003-10-20 21:22:41 +00:00
fanf
4e2a8e2c7e A comment about spam and cockroaches.
Suggested by:	dwmalone
2003-10-16 15:25:19 +00:00
tg
c803b8b6aa Fix typo. 2003-10-15 10:25:31 +00:00
schweikh
bd52f2d8e9 Correct a typo (s/And/An/) 2003-10-12 11:37:15 +00:00
schweikh
bf3be14755 Removed "Gerat" which is a typo of "Great".
Added FreeBSD ID.
2003-10-08 16:49:19 +00:00
wollman
81afeec072 Retrocomputing alternate history.... 2003-10-07 15:09:19 +00:00
wilko
d8080c433b Polish last fortune.
Suggested by: nate
2003-10-06 22:11:03 +00:00
wilko
3405ad9023 'Upon the release of the second version'
Suggested that this is fortune material: rene@tunix.nl
MFC after: 2 weeks
2003-10-06 19:34:35 +00:00
eivind
0ec2a2b19b Fix spelling/grammar errors and remove a duplicate 2003-09-13 15:46:35 +00:00
dougb
9cf6c7ed90 * Fix a duplicate "how how"
* Fix pedstals -> pedestals
2003-08-31 23:05:39 +00:00
ceri
e3cf310790 Correct a grammatical error.
PR:		misc/54967
Submitted by:	Paul A. Scott <pscott@the-frontier.org>
MFC After:	4 weeks
2003-08-25 20:08:16 +00:00
ache
26ffc627d8 LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
ache
6d81d82b79 Use LANG=C before tr to be shure that ranges are correct 2003-08-04 15:31:57 +00:00
ache
c35593dd41 Rename collate_range_cmp() to stable_collate_range_cmp() to indicate
that it is not the common variant.
Remove doubtful microoptimization there.
2003-08-03 19:44:36 +00:00
schweikh
def68bc11e Fix a tip about how to create an empty file[1].
Remove tip about retired kget(8).
Fix a typo.

PR:	conf/54334
Submitted by:	Mark Huizer <xaa+sendpr@timewasters.nl>
MFC after:	3 days
2003-08-02 20:36:28 +00:00
mux
8bcb5ee872 Remove a duplicate entry. 2003-07-25 11:14:03 +00:00
markm
376c7c030b Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
2003-07-24 18:30:25 +00:00
mph
e8546e1e8a Eliminate a duplicate. 2003-07-14 22:22:56 +00:00
jhb
34cf1095cb Add a quote of wpaul@ explaining the importance of including requested
content when replying to an e-mail.
2003-07-14 22:08:14 +00:00
kris
2796980f7c Correct some typos.
Submitted by:	pscott@the-frontier.org
PR:		misc/51909
MFC After:	The average lifetime of a Star Trek redshirt
2003-07-13 03:49:43 +00:00
will
003ad51e2a Handle 12-hour clocks properly: when the time is 00:00-00:59, adjust the
hour to 12 so the time reads "12:00-12:59 AM".
2003-06-23 16:01:11 +00:00
gsutter
1ce49745e1 Remove near-duplicate entry, keeping the better attributed one. 2003-06-19 22:52:50 +00:00
murray
1f5522a497 In the build process, fortune files have been randomized since at
least the 4.4-lite days.  This is pointless, since fortune(6) performs
its own randomization.  It was also problematic for binary update
systems such as ports/security/freebsd-update.  This commit simply
removes the -r option to strfile so that the datfiles are constant.

Submitted by:	Colin Percival <cperciva@sfu.ca>
2003-06-19 07:02:00 +00:00
joerg
dbea3df4e6 Preserve an involunteerily joke SunCheckup has been providing.
(NB: the space before the colon in the second line is authentic, please
don't remove.)
2003-06-18 12:46:20 +00:00
hoek
7a3fdc58a0 Fixup three rather minor typos that have irked me over time. 2003-05-31 16:27:53 +00:00
des
5aabe4b4db add a NOCRYPT check alongside the NO_OPENSSL check.
Approved by:	re (scottl)
2003-05-19 15:52:50 +00:00
ru
7fa127e932 mdoc(7) police: Make SYNOPSIS match usage().
Approved by:	re (blanket)
2003-05-16 21:27:23 +00:00
ru
5e69537ef5 mdoc(7) police: Added "rot13" to the NAME section.
Approved by:	re (blanket)
2003-05-16 21:26:39 +00:00
obrien
392c53b560 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
mux
c91649aa81 Add an option to print the time in 12-hour format.
Submitted by:	Samy Al Bahra <samy@kerneled.com>
2003-03-28 16:37:45 +00:00
eivind
d22ded66bf Add a new chance at getting offended, having removed so many. 2003-03-24 18:59:00 +00:00
eivind
46bf9e26a7 Remove duplicates 2003-03-24 18:58:16 +00:00
eivind
6c8ac02e62 Fix two more typos 2003-03-24 18:56:36 +00:00
tjr
7444018a7f Explain what the rot13 script does.
PR:		39044
2003-03-24 11:18:30 +00:00
eivind
779673e2b7 Fix typos 2003-03-19 18:21:42 +00:00
eivind
ed072c17cf Fix typo 2003-03-19 18:14:47 +00:00
eivind
3e7fb199ef Remove duplicates 2003-03-19 17:55:17 +00:00
eivind
18111c9405 Fix typos 2003-03-19 17:54:22 +00:00
eivind
13530229f4 Refactor two sexual jokes to murphy-o 2003-03-19 17:50:59 +00:00
dcs
2575bf9123 Improved version of Unix sex.
Submitted by: Chris Wasser <cwasser@shaw.ca>
2003-03-17 20:59:50 +00:00
grog
7467400839 Add long-term view of astronomy.
Submitted by:	newton

The attribution appears to be correct according to
http://emporium.turnpike.net/C/cs/sagan.htm.  Others have apparently
attributed it to Carl Sagan.
2003-03-15 02:10:53 +00:00
fanf
a824da445b At the risk of serious physical abuse from markm, add another regex joke,
but s/regex/regular expression/g for terminological consistency.
2003-03-10 19:58:37 +00:00
dcs
774a21c5f7 We were low on regex jokes. Now we are *really* low on them. 2003-03-10 13:47:43 +00:00
wollman
6706d1e5c2 Fix style of recent additions and sort. 2003-02-26 04:41:58 +00:00
mike
925e5bf5a9 Add a great quote from Linus Torvalds about BDE. 2003-02-26 03:42:10 +00:00
dcs
5a2e3e0dfe EMACS joke (no, not EMACS itself). 2003-02-24 18:04:20 +00:00
schweikh
021053ab88 Fix a grammar bogon.
Submitted by:	Seth Hieronymus <sethh@principia.edu>
X-MFC after:	4.8 is out the door.
2003-02-24 17:52:02 +00:00
wollman
49ccb4d057 Add a quote from Bob Schieffer's recent book about freedom of the press. 2003-02-23 06:14:04 +00:00
ru
26cbc7939f Fixed SYNOPSIS.
Expanded stdin/stdout definitions.
Ordered the SEE ALSO references.
Moved some chat from the BUGS section to freebsd-chat@.
Removed ``cvs log'' material from the HISTORY section.
2003-02-23 01:44:14 +00:00
ceri
23b3d3e001 "Happiness" is a noun.
PR:		misc/47345
Submitted by:	Ben Rosengart <ben@narcissus.net>
2003-02-18 20:49:12 +00:00
fanf
0768175e02 Add Greenspun's Tenth Rule of Programming. 2003-02-18 20:34:13 +00:00
schweikh
a787a2ce23 Correct typos.
Submitted by:	Seth Hieronymus <sethh@principia.edu>
X-MFC after:	4.8 is out the door
2003-02-16 18:38:12 +00:00
seanc
cb6083f980 flexlint rears its head as well as some style(9) fixes[1]. Fixed a
few bugs for a few corner cases and correctly handle the case where
read(2) is read()'ing from a non-file descriptor and could get fewer
bytes back than the buffer, but it isn't EOF[2].  random(6) extensively
tested and believed to be bug free (save performance for large files).

Submitted by:	mkm [1], tjr[2]
2003-02-15 10:26:10 +00:00
robert
cf513b76e7 Remove the suggestion to try `hangman', because it does not exist
in the base system anymore.
2003-02-15 09:11:25 +00:00
wes
bebc78d3e1 Add Warner Losh quote.
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
2003-02-11 21:38:02 +00:00
seanc
0f9b087524 Update random(6) to have the ability to randomize a file/stdin based
off of lines or words.  See the man page for details.

Reviewed by:	markm
MFC after:	3 days
2003-02-11 19:32:18 +00:00