S6-SEQ(1)

πŸ“¦ version 2.3.1.2, in nixpkgs unstable

πŸ’… S6-SEQ(1) β€” bestie's guide to the s6-seq girlie ✨

okay so real talk, s6-seq is the manual version of "count to ten" and honestly? she ate. this is the general commands manual, and I'm gonna walk you through her whole vibe, no skipped details, no cap πŸŽ€


✨ SYNOPSIS ✨

s6-seq [-w] [-s separator] limits

🌸 DESCRIPTION 🌸

so limits is that girl who can show up as one, two, or three arguments depending on her mood πŸ’… here's the tea:

  • three arguments = first, increment, and last, in that exact order, periodt.
  • two arguments = first and last, and increment just defaults to 1 because she's lowkey chill like that.
  • one argument = last, and both first and increment default to 1. main character energy fr.

then s6-seq prints all unsigned integers from first to last, inclusive, stepping by increment, with a newline after each integer. inclusive is the key word bestie, don't come for her 🫢

after that she exits 0. slay.

so like, she's similar to the GNU seq program, but before you go assuming β€” she does not handle negative numbers, floating point numbers, or printf-style formatting. none of that. not her era. πŸ™ˆ

πŸ‘‘ OPTIONS πŸ‘‘

  • -w β€” fixed width, babes. all the numbers get printed with the same width, and the smaller numbers get leading '0' characters so they line up cute ✨ it's giving alignment.
  • -s separator β€” prints separator after each number. default is a newline. and watch this: if separator is the empty string, a null character will be printed. iconic behavior honestly πŸ’€

πŸ”₯ EXIT STATUS πŸ”₯

  • 111 β€” temporary error 😭
  • 100 β€” permanent error, like a misuse. we don't do that here πŸ’…
  • 127 β€” unable to execute program β€” not found
  • 126 β€” unable to execute program β€” other reason

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group came out for this one, and I mean the whole friend group:

s6-basename(1), s6-cat(1), s6-chmod(1), s6-chown(1), s6-clock(1), s6-cut(1), s6-dirname(1), s6-dumpenv(1), s6-echo(1), s6-env(1), s6-expr(1), s6-false(1), s6-format-filter(1), s6-grep(1), s6-head(1), s6-hiercopy(1), s6-linkname(1), s6-ln(1), s6-ls(1), s6-maximumtime(1), s6-mkdir(1), s6-mkfifo(1), s6-nice(1), s6-nuke(1), s6-pause(1), s6-printenv(1), s6-quote(1), s6-quote-filter(1), s6-rename(1), s6-rmrf(1), s6-sleep(1), s6-sort(1), s6-sync(1), s6-tai64ndiff(1), s6-tail(1), s6-touch(1), s6-true(1), s6-uniquename(1), s6-unquote(1), s6-unquote-filter(1), s6-update-symlinks(1), seekablepipe(1)

also, this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-seq.html β€” go show it some love 🧚

πŸ’œ AUTHORS πŸ’œ

  • Laurent Bercot
  • Alexis <flexibeast@gmail.com> (man page port)

and that's the whole page, bestie 🌈 this came to you from Debian, dated April 17, 2022, and it's the S6-SEQ(1) page β€” stan her, use her responsibly, and remember: unsigned integers only πŸ’–

πŸ“¦ where this page comes from