Description of Problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Read page 62 of the document (in the section labeled "An Introduction
2. Find the part that discusses the 'expr' command
3. Look at what the example says that the result of 6 * 9 is
The document claims the Tcl interpreter will display "The answer is 42"
I would have expected that the Tcl interpreter would display "The answer
I just thought you might want to know.
"Seven and a half million years our race has waited for this Great and Hopefully
Enlightening Day!" cried the cheerleader. "The Day of the Answer!"..."Never
again will we wake up in the morning and think Who am I? What is my purpose in
life? Does it really, cosmically speaking, matter if I don't get up and go to
work? For today we will finally learn once and for all the plain and simple
answer to all those nagging little problems of Life, the Universe and Everything!"
...the large computer terminal sat in sparkling glory on the desk's leather top,
as bright as if it had been constructed yesterday.
..."Shhh...I think Deep Thought is preparing to speak!"
..."The Answer to the Great Question...Of Life, the Universe and
Everything...Is...Forty-two," said Deep Thought, with infinate majesty and calm.
..."Forty-two!" yelled Loonquawl. "Is that all you have to show for seven and a
half million years' work?"
"I checked it quite thoroughly," said the computer, "and that quite definately
is the answer. I think the problem...is that you've never actually known what
the question is."
"But it was the great question!..."howled Loonquawl.
"Yes," said Deep Thought with the air of one who suffers fools gladly, "but what
actually is it?"
"Well, you know, it's just Everything..." offered Phouchg weakly.
"Exactly!" said Deep Thought. "So once you do know what the question actually
is, you'll know what the answer means."
Thank you. I get the joke :-) I guess I didn't realize the the Tcl interpreter
was as sophisticated as Deep Thought. My mistake.
Andrew's response is correct but not quite complete. 42 is indeed the answer
to the ultimate question. However as revealed later on the ultimate question
is "What do you get when you multiply six by nine?" Hence it is
"expr 6 * 9" that should evaluate to 42.
I have added a note to the documentation explaining that some versions of the
Tcl interpreter may instead produce a result of 54, but that 42 is in fact
the correct answer together with a suitable URL. The HTML on sources.redhat.com
has been updated, and the PDF will follow in due course. Hence I am
closing this report as "fixed in current release".