ARITHMETIC(1)

πŸ“¦ version 1.053, in alpine 3.24

πŸ’– ARITHMETIC(1) πŸ’–

okay so this is the manual page for arithmetic, living in the User Contributed Perl Documentation set. it’s giving tiny quiz bestie with main character energy, and honestly? we’re obsessed. πŸ’…

🌸 NAME 🌸

arithmetic β€” improve your arithmetic skills. that’s the whole mission, no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

arithmetic [-o +-x/] [-r range]

✨ DESCRIPTION ✨

arithmetic prompts you with simple arithmetic exercises, and verifies your answers. if you get it right, it replies with Right!. if you get it wrong, it replies with What?. and if arithmetic thinks your answer is not a number, it responds with Please type a number! and repeats the exercise. not me getting read to filth by a math program 😭

After 20 questions, arithmetic tells you how many exercises you answered correctly, and how much time it took. you can quit at any time by typing the interrupt or end-of-file character. exit strategy iconique.

If you answer an exercise incorrectly, arithmetic remembers the numbers involved, and favours those over others. it’s giving study buddy with a very specific grudge, but make it cute 🫢

πŸŽ€ OPTIONS πŸŽ€

arithmetic accepts the following options:

  • -o +-x/ β€” by default, arithmetic only asks addition exercises. by giving the -o option, arithmetic randomly chooses from the given operators. if an operator is given multiple times, that operator will be picked more often. the more it is repeated, the more it will be picked.
  • -r range β€” for addition and multiplication, arithmetic picks both operands in the range from 0 to range, inclusively. for subtraction and division, both the answer, and the right operand will be in this range. the default range is 10.

🌈 ENVIRONMENT 🌈

The working of arithmetic is not influenced by any environment variables. literally not a single one, bestie. clean vibes only. ✨

πŸ’€ BUGS πŸ’€

None known. πŸ’€ slay, honestly.

πŸ“œ REVISION HISTORY πŸ“œ

the receipts, exactly as they appear:

$Log: arithmetic,v $
Revision 1.2  2004/08/05 14:17:43  cwest
cleanup, new version number on website

Revision 1.1  2004/07/23 20:09:59  cwest
initial import

Revision 1.1  1999/03/14 07:44:35  abigail
Initial revision

πŸ‘‘ AUTHOR πŸ‘‘

The Perl implementation of arithmetic was written by Abigail, perlpowertools@abigail.be. πŸ‘‘

This program is copyright by Abigail 1999.

This program is free and open software. You may use, copy, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.

periodt. that’s the legal tea, and it’s actually very generous. πŸ“

that’s the whole manual, bestie 🫢 β€” source/version: perl v5.42.2, dated 2026-02-15.

πŸ“¦ where this page comes from