CG-SORT(1)

✨ NAME ✨

cg-sort β€” the CG-3 v1.3.9 glow-up tool for your cohort readings πŸ’– (it lives in the CG-3 manual, section 1, bestie)


πŸ¦‹ SYNOPSIS πŸ¦‹

cg-sort [OPTIONS]

That's it. That's the whole vibe. She takes OPTIONS and nothing else, no cap.


🌸 DESCRIPTION 🌸

Okay so picture this: you've got a CG stream just sitting there, all messy, readings everywhere, cohorts un-sorted, lowkey chaotic. 😭

You pipe that stream through cg-sort and she handles it β€” she sorts and uniques the readings of each cohort. Every cohort gets its readings tidied up and de-duplicated, and then she hands the stream right back to you. She's literally the main character of pipelines. πŸ‘‘

iykyk: it's a filter. She reads stdin, she writes stdout, she does not want to hear about your files.

πŸ’… OPTIONS πŸ’…

  • -?, --help β€” bestie just wants the tea β˜• β€” this outputs the help text. That's the whole job. Iconic.
  • -w, --weight β€” sorts by a numeric tag instead of vibing on default. And the default? It's W. Yes, just the letter. She said W and she meant it. ✨
  • -r, --reverse β€” flips the sort order all the way around. πŸ”„ Not me reversing the whole lineup... periodt.

πŸŽ€ SIGN-OFF πŸŽ€

This page is from CG-3, dated October 2022. Slay, enjoy your sorted cohorts, drink some water, and go touch grass when you're done. πŸ«ΆπŸŒˆπŸ’œ

πŸ“¦ where this page comes from