SSGREP(1)

πŸ¦‹ ssgrep(1) β€” the GNOME spreadsheet grep, bestie edition πŸ¦‹

okay so real talk, this is the ssgrep man page from the GNOME fam β€” she lives in section 1 of the manual, and honestly? she's lowkey iconic for doing one job extremely well. let's get into it πŸ’…


✨ NAME ✨

ssgrep β€” search spreadsheets for strings πŸ“

🌸 SYNOPSIS 🌸

ssgrep [OPTIONS] [FILES]

πŸ’– DESCRIPTION πŸ’–

so this page is a brief little doc for the ssgrep command β€” like, the vibes version, not the whole saga.

ssgrep is a command line utility that searches for strings in spreadsheets of any format supported by gnumeric. yes, any. she's versatile like that 🫢

Without any output-modifying options, ssgrep prints one line for each match. And what counts as a match? The matching content of a cell or β€” if you pass the -R option β€” the matching expression result of a cell. iykyk ⭐

πŸ”₯ OPTIONS πŸ”₯

this program follows the usual GNU command line syntax, bestie β€” single letter options start with a single dash (-), and longer options start with two dashes (--). periodt.

πŸŽ€ Options controlling input file handling πŸŽ€

  • --recalc β€” recalculate all cells. that's it, that's the whole vibe.

🌈 Options controlling patterns and pattern matching 🌈

  • -f, --keyword-file=FILE β€” the path to a text file containing one key per line πŸ”‘
  • -i, --ignore-case β€” ignore differences in letter case (Case Girlies stay winning)
  • -w, --word-regexp β€” match only whole words, no partials sneaking through
  • -F, --fixed-strings β€” treat the pattern as a set of fixed strings (literally just what it says, no fancy regex business)
  • -R, --search-results β€” search results of expressions too πŸ‘€
  • -v, --invert-match β€” search for cells that do not match (the contrarian option, we stan)

πŸ‘‘ Options controlling output in general πŸ‘‘

  • -c, --count β€” only print a count of matches per file
  • -L, --files-without-matches β€” print filenames without matches
  • -l, --files-with-matches β€” print filenames with matches
  • -q, --quiet β€” suppress all normal output 🀫
  • -H, --with-filename β€” print the filename for each match
  • -h, --without-filename β€” do not print the filename for each match
  • -n, --print-locus β€” print the location of each match πŸ“
  • -T, --print-type β€” print the location type of each match

🧚 Help options 🧚

  • -V, --version β€” display ssgrep's version
  • -?, --help β€” display the supported options
  • --usage β€” display a brief usage message

⭐ EXAMPLE ⭐

wanna search for the string "SUM" in the file foo.gnumeric? say less:

ssgrep SUM foo.gnumeric

and if you wanna search for the strings from the file keywords in the spreadsheet foo.xls, do this:

ssgrep --keyword-file=keywords foo.xls

ate, no crumbs πŸ’€

πŸ’œ LICENSE πŸ’œ

ssgrep is licensed under the terms of the General Public License (GPL), version 2 or 3. For info on this license, look at the source code that came with the software, or go see the GNU project page at ⟨http://www.gnu.org⟩.

The copyright on ssgrep and the gnumeric software and source code is held by the individual authors, as is documented in the source code. (yes, the source code, go read it, she's thorough ✨)

πŸ¦‹ AUTHOR πŸ¦‹

ssgrep's primary author is Jody Goldberg <jody@gnome.org> β€” and just so you know, ssgrep builds on the gnumeric codebase. main character energy, honestly.

The initial version of this manpage was based on ssindex.1 by J.H.M. Dassen (Ray) <jdassen@debian.org>. credit where credit is due 🫢

🌸 SEE ALSO 🌸

The Gnumeric Homepage ⟨https://www.gnumeric.org/⟩.

The GNOME project page ⟨https://www.gnome.org/⟩.


ok that's the whole page bestie, go forth and grep those spreadsheets πŸ’…βœ¨

and that's a wrap! this page came to you courtesy of gnumeric, dated 2009-02-08, filed under SSGREP(1) β€” vintage but still serving πŸŽ€πŸ’–

πŸ“¦ where this page comes from