Unix and Linux Discussions Tagged with oracle |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
16 |
16,913 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
9,052 |
UNIX for Advanced & Expert Users |
|
|
|
17 |
6,464 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
5,318 |
Shell Programming and Scripting |
|
|
|
7 |
14,564 |
Linux |
|
|
|
4 |
2,887 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,079 |
Shell Programming and Scripting |
|
|
|
7 |
10,063 |
Web Development |
|
|
|
2 |
2,789 |
Solaris |
|
|
|
8 |
5,200 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
29,674 |
Red Hat |
|
|
|
3 |
2,492 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
9,556 |
Red Hat |
|
|
|
1 |
3,302 |
Shell Programming and Scripting |
|
|
|
6 |
3,899 |
Shell Programming and Scripting |
|
|
|
4 |
7,780 |
Web Development |
|
|
|
1 |
2,444 |
Web Development |
|
|
|
4 |
1,997 |
Web Development |
|
|
|
0 |
1,479 |
What is on Your Mind? |
|
|
|
15 |
10,195 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
8,449 |
Shell Programming and Scripting |
|
|
|
4 |
8,424 |
Red Hat |
|
|
|
1 |
1,637 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
5,767 |
Solaris |
|
|
|
11 |
7,963 |
Solaris |
|
|
|
4 |
1,608 |
Shell Programming and Scripting |
|
|
|
1 |
2,558 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,313 |
Solaris |
|
|
|
4 |
3,990 |
Shell Programming and Scripting |
|
|
|
0 |
11,765 |
News, Links, Events and Announcements |
|
|
|
1 |
2,604 |
Shell Programming and Scripting |
|
|
|
3 |
3,088 |
Solaris |
|
|
|
3 |
6,004 |
Shell Programming and Scripting |
|
|
|
16 |
9,798 |
AIX |
|
|
|
0 |
1,907 |
Red Hat |
|
|
|
7 |
7,227 |
Solaris |
|
|
|
2 |
10,558 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
11,302 |
AIX |
|
|
|
2 |
5,243 |
Solaris |
|
|
|
14 |
5,608 |
UNIX for Dummies Questions & Answers |
CHING(6) Games Manual CHING(6)
NAME
ching - the book of changes and other cookies
SYNOPSIS
/usr/games/ching [ hexagram ]
DESCRIPTION
The I Ching or Book of Changes is an ancient Chinese oracle that has been in use for centuries as a source of wisdom and advice.
The text of the oracle (as it is sometimes known) consists of sixty-four hexagrams, each symbolized by a particular arrangement of six
straight (---) and broken (- -) lines. These lines have values ranging from six through nine, with the even values indicating the broken
lines.
Each hexagram consists of two major sections. The Judgement relates specifically to the matter at hand (E.g., "It furthers one to have
somewhere to go.") while the Image describes the general attributes of the hexagram and how they apply to one's own life ("Thus the supe-
rior man makes himself strong and untiring.").
When any of the lines have the values six or nine, they are moving lines; for each there is an appended judgement which becomes signifi-
cant. Furthermore, the moving lines are inherently unstable and change into their opposites; a second hexagram (and thus an additional
judgement) is formed.
Normally, one consults the oracle by fixing the desired question firmly in mind and then casting a set of changes (lines) using
yarrow-stalks or tossed coins. The resulting hexagram will be the answer to the question.
Using an algorithm suggested by S. C. Johnson, the UNIX oracle simply reads a question from the standard input (up to an EOF) and hashes
the individual characters in combination with the time of day, process id and any other magic numbers which happen to be lying around the
system. The resulting value is used as the seed of a random number generator which drives a simulated coin-toss divination. The answer is
then piped through nroff for formatting and will appear on the standard output.
For those who wish to remain steadfast in the old traditions, the oracle will also accept the results of a personal divination using, for
example, coins. To do this, cast the change and then type the resulting line values as an argument.
The impatient modern may prefer to settle for Chinese cookies; try fortune(6).
SEE ALSO
It furthers one to see the great man.
DIAGNOSTICS
The great prince issues commands,
Founds states, vests families with fiefs.
Inferior people should not be employed.
BUGS
Waiting in the mud
Brings about the arrival of the enemy.
If one is not extremely careful,
Somebody may come up from behind and strike him.
Misfortune.
7th Edition May 20, 1985 CHING(6)