SEQ(1)
π SEQ(1) β bestie's guide to counting real pretty π
okay so. seq. it's giving "print a sequence of numbers" and honestly? it ATE. this is the manual page for it, and i'm gonna walk you through every single crumb of it, no notes, no skips. π«Ά
β¨ SYNOPSIS β¨
here's how you call it, three ways, pick ur fighter:
seq [OPTION]... LAST
seq [OPTION]... FIRST LAST
seq [OPTION]... FIRST INCREMENT LAST
πΈ DESCRIPTION πΈ
the whole vibe: it prints numbers from FIRST to LAST, stepping by INCREMENT. that's it, that's the girl. π
lowkey important house rule before we get into the flags: if an argument is required for a long option, it's required for the short option too. mandatory is mandatory bestie, no sneaking around it. π
π¦ OPTIONS π¦
-f,--format=FORMATβ use aprintfstyle floating-pointFORMAT. yes like theprintfyou already know and love. make it cute. β¨-s,--separator=STRINGβ useSTRINGto separate each number. the default is\n, which is why it normally stacks all nice down your terminal like a lil tower. π-w,--equal-widthβ equalize width by padding with leading zeroes. everyone gets the same width, no one is jealous. π--helpβ display this help and exit. hand holding behavior fr. π€--versionβ output version information and exit. identity check. π
π§ the rules of the count (aka the important lore) π§
- if
FIRSTorINCREMENTis omitted, it defaults to1. - and this is the part people always get wrong so listen up: an omitted
INCREMENTdefaults to1even whenLASTis smaller thanFIRST. yes really. that's just how she is. π - the sequence of numbers ends when the sum of the current number and
INCREMENTwould become greater thanLAST. so we don't overshoot, we just stop. periodt. β FIRST,INCREMENT, andLASTare interpreted as floating point values. decimals welcome, they're beautiful. πINCREMENTis usually positive ifFIRSTis smaller thanLAST, and usually negative ifFIRSTis greater thanLAST. going down is valid, we support the descent. β¬οΈINCREMENTmust not be0. like. at all. zero increment is a crime and also an infinite loop adjacent situation, don't do it. β οΈ- none of
FIRST,INCREMENTandLASTmay beNaN. not a single one. π« FORMATmust be suitable for printing one argument of typedouble. it defaults to%.PRECfifFIRST,INCREMENT, andLASTare all fixed point decimal numbers with maximum precisionPREC, and to%gotherwise.
i'm not joking about the0increment or theNaNthing, those are hard nos, not vibes. π
π AUTHOR π
Written by Ulrich Drepper.
π REPORTING BUGS π
found a bug? pls don't just scream into the void, there's a whole process:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
π₯ SEE ALSO π₯
- Full documentation <https://www.gnu.org/software/coreutils/seq>
- or available locally via:
info '(coreutils) seq invocation'
π the legal-ese section that i will NOT be skipping π
- Packaged by Ubuntu (
9.10-1ubuntu2) - Copyright Β© 2026 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
no warranty bestie, you break it you bought it. π
okay that's the whole page, every flag, every default, every warning, preserved in full, iconic, no cap. this was GNU coreutils 9.10, dated August 2026, and that's the SEQ(1) manual page, mwah, kisses, go count something beautiful πβ¨π
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms