S6-SORT(1)
π NAME π
okay bestie, welcome to s6-sort(1) from the General Commands Manual β this is the page for sorting input, and it's lowkey iconic π
β¨
The name line is literally s6-sort β sort input π
πΈ SYNOPSIS πΈ
s6-sort [-b] [-c] [-f] [-r] [-u] [-0]
β¨ DESCRIPTION β¨
okay so s6-sort reads its stdin until EOF. it sorts all the lines it read alphanumerically β no cap, that's the whole vibe π¦
Then it prints the sorted lines to stdout and exits 0. periodt π
π OPTIONS π
vibe check each flag, bestie β they're all right here:
-bβ ignore leading spaces and tabs at the beginning of each line when sorting π-cβ suppresses normal output, just returns0if the output would have been the same as the input and1otherwise π-fβ ignore case when sorting πΈ-rβ reverse sort π₯-uβ suppresses duplicate lines β¨-0β input and output lines are separated by null characters instead of newlines π«Ά
π₯ EXIT STATUS π₯
the exit codes are giving very specific main character energy:
111β temporary error π100β permanent error, such as a misuse π127β unable to execute program - not found π126β unable to execute program - other reason π
π¦ SEE ALSO π¦
the whole s6 squad is here, bestie β every single reference, no skips:
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-seq(1),s6-sleep(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)
there's also a footnote [1] pointing at https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sort.html β and heads up, bestie: this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-sort.html π«Ά
π STANDARDS π
real talk:s6-sortis not suitable as asort[1]program conforming to . π
π AUTHORS π
- Laurent Bercot
Alexis <flexibeast@gmail.com>(man page port)
and that's the whole page, bestie β it comes from Debian, dated April 17, 2022, and the page itself is S6-SORT(1) πβ¨
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms