summaryrefslogtreecommitdiffstats
path: root/office/jfbview/jpdfgrep.1
blob: 661f157ccd7f38881b51d45c548544703bc94148 (plain)
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "JPDFGREP" 1 "2022-01-13" "0.6.0" "SlackBuilds.org"
.SH NAME
jpdfgrep \- search for a string in a PDF document
.\" RST source for jpdfgrep(1) man page. Convert with:
.
.\" rst2man.py jpdfgrep.rst > jpdfgrep.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
jpdfgrep [\fI\-P pass\fP] [\fI\-w width\fP]  \fBfilename.pdf\fP \fBsearch\-string\fP
.SH DESCRIPTION
.sp
\fBjpdfgrep\fP searches for a string in the text content of a PDF
document and prints all matching lines. Despite the name, the
\fBsearch\-string\fP is a fixed string, \fInot\fP a regular expression.
Also, be aware that the file and search string arguments must
be given in the opposite order from grep.
.sp
\fBjpdfgrep\fP is part of the \fBjfbview\fP suite.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-P,\-\-password=pass
Unlock PDF document with the given password.
.TP
.B \-w,\-\-width=width
Specify result line width. The default is to autodetect terminal width.
.TP
.B \-h,\-\-help
Show built\-in help message.
.UNINDENT
.SH COPYRIGHT
.sp
jpdfgrep is distributed under the Apache License v2.
.SH AUTHORS
.sp
jpdfgrep was written by Chuan Ji.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
\fBjfbview\fP(1), \fBjpdfcat\fP(1), \fBpdftotext\fP(1)
.\" Generated by docutils manpage writer.
.