2 \\$2 \(laURL: \\$1 \(ra\\$3
4 .if \n[.g] .mso www.tmac
5 .TH SSGREP 1 "2009-02-08" gnumeric "GNOME"
7 ssgrep \- search spreadsheets for strings
10 \fBssgrep \fR [\fIOPTIONS\fR] [\fIFILES\fR]
13 This manual page briefly documents the \fBssgrep\fR command.
15 \fBssgrep\fR is a command line utility to search for strings in spreadsheets of
16 any format supported by gnumeric. Without any output modifying options,
17 \fBssgrep\fR prints one line for each match. A match consists of the matching
18 content of a cell or, if the \fB\-R\fR option is given, the matching expression
25 This program follows the usual GNU command line syntax, with single
26 letter options starting with a single dash (`-') and longer options
27 starting with two dashes (`--').
29 .SS "Options controlling input file handling"
34 .SS "Options controlling patterns and pattern matching"
36 .B \-f, \-\-keyword\-file=\fIFILE\fR
37 The path to a text file containing one key per line
39 .B \-i, \-\-ignore\-case
40 Ignore differences in letter case
42 .B \-w, \-\-word\-regexp
43 Match only whole words
45 .B \-F, \-\-fixed\-strings
46 Pattern is a set of fixed strings
48 .B \-R, \-\-search\-results
49 Search results of expressions too
51 .B \-v, \-\-invert-match
52 Search for cells that do not match
54 .SS "Options controlling output in general"
57 Only print a count of matches per file
59 .B \-L, \-\-files\-without\-matches
60 Print filenames without matches
62 .B \-l, \-\-files\-with\-matches
63 Print filenames with matches
66 Suppress all normal output
68 .B \-H, \-\-with\-filename
69 Print the filename for each match
71 .B \-h, \-\-without\-filename
72 Do not print the filename for each match
74 .B \-n, \-\-print\-locus
75 Print the location of each match
77 .B \-T, \-\-print\-type
78 Print the location type of each match
83 Display ssgrep's version
86 Display the supported options
89 Display a brief usage message
93 To search for the string "SUM" in the file \fIfoo.gnumeric\fR :
95 \fBssgrep\fR \fISUM\fR \fIfoo.gnumeric\fR
97 To search for the strings from the file \fIkeywords\fR in the spreadsheet \fIfoo.xls\fR :
99 \fBssgrep\fR \fB\-\-keyword\-file=\fIkeywords\fR \fIfoo.xls\fR
112 \fBssgrep\fR is licensed under the terms of the General Public
113 License (GPL), version 2 or 3. For information on this license look at the
114 source code that came with the software or see the
115 .URL "http://www.gnu.org" "GNU project page" .
119 The copyright on \fBssgrep\fR and the \fBgnumeric\fR software and source
120 code is held by the individual authors as is documented in the source code.
124 \fBssgrep\fR's primary author is Jody Goldberg <jody@gnome.org>;
125 \fBssgrep\fR builds on the \fBgnumeric\fR codebase.
127 The initial version of this manpage was based on ssindex.1 by J.H.M. Dassen
128 (Ray) <jdassen@debian.org>.
137 .URL "http://www.gnome.org/projects/gnumeric/" "The Gnumeric Homepage" .
139 .URL "http://www.gnome.org/" "The GNOME project page" .