AVERAGE(1)

πŸ“¦
version 0.5 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ NAME ✨

okay so this is AVERAGE(1) bestie, and it's literally the manual page for numaverage β€” the little icon that finds the average of a set of numbers. math but make it cute πŸ’…


🌸 SYNOPSIS 🌸

numaverage [-dhiIlmMV] <FILE>

| numaverage [-dhiIlmMV]    (Input on STDIN from pipeline.)

numaverage [-dhiIlmMV]      (Input on STDIN.  Use Ctrl-D to stop.)

so basically three ways to feed it, no cap 🫢 you can hand it a <FILE>, you can pipe stuff in with |, or you can just run it bare and type your numbers in β€” then hit Ctrl-D to stop. that's the whole vibe check.


πŸ¦‹ DESCRIPTION πŸ¦‹

by default numaverage looks at all the numbers you give it and gives you the average. that's it, that's the main character energy ✨

but wait, there's more πŸ‘‘ other options let you go find the mode</c> and the median too. so it's not just one trick, it's giving versatility fr fr.


πŸ’– OPTIONS πŸ’–

  • -i β€” only hands you back the integer portion of the final sum. the decimal part? not invited. πŸ™ˆ
  • -I β€” only hands you back the decimal portion of the final sum. integer part? blocked. πŸ’€
  • -m β€” finds the mode (the number that shows up the most) in your list of numbers. and if there's more than one mode? you get the first completed mode. periodt.
  • -M β€” finds the median (the middle number) of your list of numbers. iconic middle-child behavior πŸŽ€
  • -l β€” this one's the sidekick to the median: when you're finding the median and the count of numbers in the set is even, use the lower middle number instead of the upper middle number. choose wisely bestie πŸ’…
  • -h β€” help! you're literally looking at it rn 😭 you're welcome.
  • -V β€” increase verbosity. more words, more drama, more info πŸ”₯
  • -d β€” debug mode. for developers 🧚 (devs, this one's for you)

🌈 SEE ALSO 🌈

the whole friend group, go say hi πŸ‘‘πŸ’œ


numaverage is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. so please go read the COPYING and LICENSE files that came with the num-utils package, okay? it's the law (literally, it's a license) πŸ“œ

developers can read the GOALS file and contact me about providing submitions or help for the project. yes we want your help, come thru 🫢


⭐ MORE INFO ⭐

more info on numaverage can be found at:

http://suso.suso.org/xulu/Num-utils

ok that's the whole page bestie, go average something slay πŸ’…βœ¨

this lil doc dropped with perl v5.30.3 on 2020-06-09 β€” vintage but still eating πŸ’–

πŸ“¦ where this page comes from