SORTBYQUOTE(1)

πŸ’– SORTBYQUOTE(1) πŸ’–

okay bestie, so this is sortbyquote, and it lives in the NCBI Tools User's Manual β€” like, that's the whole vibe of the collection it's from. pull up a chair, we're sorting some code πŸ¦‹


✨ NAME ✨

sortbyquote β€” sort C/C++ code by quoted regions πŸŽ€


🌸 SYNOPSIS 🌸

sortbyquote [-] [-i filename] [-o filename] [-r]

πŸ’… DESCRIPTION πŸ’…

so sortbyquote is literally just a simple little utility that takes a C or C++ code snippet and sorts it, so that the lines β€” which are typically elements of a static array, the kind you'd use for a binary search β€” end up in case-insensitive order of the string literals they contain. that's it. that's the whole job. no cap, it's giving one-trick pony and honestly? obsessed. πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

here's the rundown of every option, bestie, no skipping any of them:

  • - β€” print the usage message. yes, a lone dash. iconic behaviour honestly ✨
  • -i filename β€” Input File Name (default = stdin) πŸ“₯
  • -o filename β€” Output File Name (default = stdout) πŸ“€
  • -r β€” Reverse order πŸ”„

πŸ’€ BUGS πŸ’€

Escape sequences are not supported. that's it, that's the caveat, don't come for me, I'm just the messenger 😭

🫢 AUTHOR 🫢

The National Center for Biotechnology Information. thank you for your service, kings and queens πŸ‘‘


and that's the whole page, fr fr β€” this beauty comes from the NCBI, dated 2006-01-11, and it was SORTBYQUOTE(1) the entire time πŸ’œ slay, bye bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from