bc quit

Happened to see this in fortune:

quit   When the quit statement is read, the  bc  processor
       is  terminated, regardless of where the quit state-
       ment is found.  For example, "if  (0  ==  1)  quit"
       will cause bc to terminate.
        -- seen in the manpage for "bc". Note the "if" statement's logic.

Then I checked the man page of bc. It really says that.


No related posts.

One Comment

Leave a Reply

Hint: Register at Gravatar and your comments will be accompanied by your personalized icon.