GREPSEQ(1)

GREPSEQ πŸ’–

okay bestie, so this is grepseq from the User Commands section of the manual (that's section 1 for the uninitiated β€” iykyk 🫢). It's grep, but make it sequence-coded. Let's get into it πŸ’…


✨ NAME ✨

grepseq β€” <optional description of the program>

like. that's literally it. the description is a placeholder, she's mysterious, she's giving "i'll tell you when i'm ready" 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

grepseq [options] <pattern> <files ...>

so you hand her some options, you hand her a pattern, you hand her some files, and she goes to work. main character energy fr fr ✨


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” shows this help message and then dips. exits. periodt. πŸ’–
  • -c, --count β€” bestie she is NOT going to print your normal output, she's just gonna print a count of the matching lines for each input file. and listen β€” if you also use the -v, --invert-match option (scroll down, it's there), she counts the non-matching lines instead. okay? okay. πŸŽ€
  • -H, --with-filename β€” prints the filename for every single match. no more mystery matches, she's naming names πŸ—£οΈπŸ”₯
  • -i, --ignore-case β€” ignores case distinctions in both the pattern and the input files. ABC and abc are the same girlie now, no cap πŸ‘‘
  • -m NUM, --max-count=NUM β€” stop reading a file after NUM matching lines. okay so the details matter here: when the -c or --count option is also used, grepseq does not output a count greater than NUM. and when the -v or --invert-match option is also used, grep stops after outputting NUM non-matching lines. (yes she said grep there, we love her for it, keeping it exact πŸ’€) so basically: NUM is the limit, respect it βœ‹
  • -N, --names-only β€” searches only sequence names. Cannot be used with -S. pick a lane bestie πŸ™ˆ
  • -S, --sequences-only β€” searches only sequences. Cannot be used with -N. same energy, opposite direction πŸ¦‹
  • -v, --invert-match β€” inverts the sense of matching, so she selects the non-matching lines. it's giving "not like the other matches" πŸ’œ

🌸 AUTHOR 🌸

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. ty for your service king πŸ«‘πŸ’–


and that's the whole page bestie, you ate that πŸ“βœ¨ this was grepseq version 1.2.12, dated March 2017 β€” yeah she's vintage, she's classic, she's still iconic πŸŒˆπŸ‘‘ mwah πŸ’