INTERVAL(1)

πŸ“¦ version 0.5, in nixos 26.05, nixpkgs unstable

πŸ’… INTERVAL(1) β€” like, the manual page, bestie ✨

ok so real talk: this is interval from User Contributed Perl Documentation, and I'm gonna walk you through it like we're texting at 2am 🫢


🌸 NAME 🌸

interval β€” shows you the numeric intervals between each line in a file. yes. that's the whole gig. slay.


✨ SYNOPSIS ✨

interval [-dhV] <FILE>

| interval [-dhV]    (Input on STDIN from pipeline.)

interval [-dhV]      (Input on STDIN.  Use Ctrl-D to stop.)

so you can hand it a file, or you can pipe stuff into it, or you can just run it bare and type numbers at it until you hit Ctrl+D πŸ’€ all three are valid, pick your fighter.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so inter is a program that's part of the numeric utilities package. (yes, the page says inter, not interval β€” I don't make the rules, I just report them πŸ’…)

here's the vibe: interval calculates and displays the numeric interval between one number and the next on an input stream. literally number β†’ next number β†’ what's the gap. iconic behaviour.

why would you even want this? because sometimes the raw numbers are NOT giving what you need 😭 this is genuinely useful for showing quantities of increase or decrease of data when the numbers themselves aren't providing you with what you want. like, the numbers are there, but they're not saying anything yet.

and ngl the origin story is a whole mood: the author wrote this program after wanting to see the rate of change in box office ticket sales for movies on imdb.com. ;-) β€” yes that emoticon is in the original, I'm keeping it, we respect the heritage πŸŽ€


πŸ‘‘ OPTIONS πŸ‘‘

  • -h β€” Help: You're looking at it. hi bestie, you found it πŸ’–
  • -V β€” Increase verbosity. it's giving "tell me more" energy
  • -d β€” Debug mode. For developers. this one's not for us normies πŸ”₯
  • -q β€” Don't print any warnings. Quiet mode. shhh 🀫
tiny heads up: the SYNOPSIS only shows -dhV, but -q is absolutely real and absolutely listed above β€” don't let anyone tell you otherwise 🫢

🌈 SEE ALSO 🌈

go give these icons some love, they're all family:

average(1), bound(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1), round(1)


interval is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. please read the COPYING and LICENSE files that came with the num-utils package πŸ’œ

Developers can read the GOALS file and contact me about providing submitions or help for the project.

(yes, "submitions" β€” that's exactly how it's spelled in the original, I'm not touching it, it's part of the lore πŸ™ˆ)


🧚 MORE INFO 🧚

more info on template can be found at:

http://suso.suso.org/programs/num-utils/

⭐ a lil sign-off ⭐

that's the whole page, bestie! this absolute gem is perl v5.42.3, dated 2004-11-19 β€” yes, it's a vintage, and yes, it still ate πŸ’…βœ¨ go forth and measure your intervals πŸ¦‹

πŸ“¦ where this page comes from