GREPJAR(1)

πŸ’– GREPJAR β€” like, the girlies of grep but for jar files πŸ’–

okay so bestie, welcome to the GREPJAR(1) manual page, living under the GNU umbrella 🫢. She's the one who searches through the files inside a jar file looking for a pattern, and honestly? iconic behaviour. Let's get into it ✨


🌸 NAME 🌸

grepjar β€” search files in a jar file for a pattern πŸ”


πŸŽ€ SYNOPSIS πŸŽ€

grepjar [-bcinsw] -e PATTERN | PATTERN files...

πŸ¦‹ DESCRIPTION πŸ¦‹

So the grepjar program can be used to search files in a jar file for a pattern. That's it. That's the whole vibe check. πŸ’…


✨ OPTIONS ✨

  • -b β€” print the byte offset of the match, so you know exactly where it's at fr
  • -c β€” print the number of matches instead
  • -i β€” compare case-insensitively, because uppercase and lowercase are both valid divas πŸ’…
  • -n β€” print the line number of each match
  • -s β€” suppress error messages (shhh 🀫)
  • -w β€” force PATTERN to match only whole words, no partial-matching nonsense
  • -e PATTERN β€” use PATTERN as a regular expression
  • --help β€” print help, then exit
  • -V, --version β€” print version number, then exit

πŸ‘€ SEE ALSO πŸ‘€

fastjar(1), gcj(1), gij(1), gfdl(7) and the Info entry for gcj. go read those next bestie, they're the whole friend group 🫢


Copyright (C) 2002, 2007, 2008 Matthias Klose

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. A copy of the license is included in the man page gfdl(7).

⚠️ that's the legal tea right there β€” keep it intact, no cap 🧚

and that's the whole page, bestie!! 🌈 this one's version 0.97, dated 2008-10-16, and yes she is serving vintage GNU realness and we're obsessed πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ”₯πŸ‘‘β­