Man page for pdftotext

pdftotext(1) pdftotext(1)

NAME
pdftotext - Portable Document Format (PDF) to text converter (version
3.00)

SYNOPSIS
pdftotext [options] [PDF-file [text-file]]

DESCRIPTION
Pdftotext converts Portable Document Format (PDF) files to plain text.

Pdftotext reads the PDF file, PDF-file, and writes a text file, text-
file. If text-file is not specified, pdftotext converts file.pdf to
file.txt. If text-file is ´-â, the text is sent to stdout.

CONFIGURATION FILE
Pdftotext reads a configuration file at startup. It first tries to
find the userâs private config file, ~/.xpdfrc. If that doesnât exist,
it looks for a system-wide config file, /etc/xpdf/xpdfrc. See the
xpdfrc(5) man page for details.

OPTIONS
Many of the following options can be set with configuration file com-
mands. These are listed in square brackets with the description of the
corresponding command line option.

-f number
Specifies the first page to convert.

-l number
Specifies the last page to convert.

-layout
Maintain (as best as possible) the original physical layout of
the text. The default is to ´undoâ physical layout (columns,
hyphenation, etc.) and output the text in reading order.

-raw Keep the text in content stream order. This is a hack which
often "undoes" column formatting, etc. Use of raw mode is no
longer recommended.

-htmlmeta
Generate a simple HTML file, including the meta information.
This simply wraps the text in

 and 

and prepends the
meta headers.

-enc encoding-name
Sets the encoding to use for text output. The encoding-name
must be defined with the unicodeMap command (see xpdfrc(5)).
The encoding name is case-sensitive. This defaults to "Latin1"
(which is a built-in encoding). [config file: textEncoding]

-eol unix | dos | mac
Sets the end-of-line convention to use for text output. [config
file: textEOL]

-nopgbrk
Donât insert page breaks (form feed characters) between pages.
[config file: textPageBreaks]

-opw password
Specify the owner password for the PDF file. Providing this
will bypass all security restrictions.

-upw password
Specify the user password for the PDF file.

-q Donât print any messages or errors. [config file: errQuiet]

-cfg config-file
Read config-file in place of ~/.xpdfrc or the system-wide config
file.

-v Print copyright and version information.

-h Print usage information. (-help and --help are equivalent.)

BUGS
Some PDF files contain fonts whose encodings have been mangled beyond
recognition. There is no way (short of OCR) to extract text from these
files.

EXIT CODES
The Xpdf tools use the following exit codes:

0 No error.

1 Error opening a PDF file.

2 Error opening an output file.

3 Error related to PDF permissions.

99 Other error.

AUTHOR
The pdftotext software and documentation are copyright 1996-2004 Glyph
& Cog, LLC.

SEE ALSO
xpdf(1), pdftops(1), pdfinfo(1), pdffonts(1), pdftoppm(1), pdfim-
ages(1), xpdfrc(5)

http://www.foolabs.com/xpdf/

22 January 2004 pdftotext(1)

Man page for DIG

My favorite query: dig domainname.com ANY +noall +answer

DIG(1) BIND9 DIG(1)

NAME
dig – DNS lookup utility

SYNOPSIS
dig [@server] [-b address] [-c class] [-f filename] [-k filename] [-m]
[-p port#] [-t type] [-x addr] [-y name:key] [-4] [-6] [name]
[type] [class] [queryopt...]

dig [-h]

dig [global-queryopt...] [query...]

DESCRIPTION
dig (domain information groper) is a flexible tool for interrogating
DNS name servers. It performs DNS lookups and displays the answers that
are returned from the name server(s) that were queried. Most DNS
administrators use dig to troubleshoot DNS problems because of its
flexibility, ease of use and clarity of output. Other lookup tools tend
to have less functionality than dig.

Although dig is normally used with command-line arguments, it also has
a batch mode of operation for reading lookup requests from a file. A
brief summary of its command-line arguments and options is printed when
the -h option is given. Unlike earlier versions, the BIND 9
implementation of dig allows multiple lookups to be issued from the
command line.

Unless it is told to query a specific name server, dig will try each of
the servers listed in /etc/resolv.conf.

When no command line arguments or options are given, dig will perform
an NS query for “.” (the root).

It is possible to set per-user defaults for dig via ${HOME}/.digrc.
This file is read and any options in it are applied before the command
line arguments.

The IN and CH class names overlap with the IN and CH top level domains
names. Either use the -t and -c options to specify the type and class,
or use “IN.” and “CH.” when looking up these top level domains.

SIMPLE USAGE
A typical invocation of dig looks like:

dig @server name type

where:

server
is the name or IP address of the name server to query. This can be
an IPv4 address in dotted-decimal notation or an IPv6 address in
colon-delimited notation. When the supplied server argument is a
hostname, dig resolves that name before querying that name server.
If no server argument is provided, dig consults /etc/resolv.conf
and queries the name servers listed there. The reply from the name
server that responds is displayed.

name
is the name of the resource record that is to be looked up.

type
indicates what type of query is required â ANY, A, MX, SIG, etc.
type can be any valid query type. If no type argument is supplied,
dig will perform a lookup for an A record. Continue reading

Man page for PASTE

PASTE(1)                         User Commands                        PASTE(1)

NAME
paste - merge lines of files
SYNOPSIS
paste [OPTION]... [FILE]...
DESCRIPTION
Write  lines  consisting  of  the sequentially corresponding lines from
each FILE, separated by TABs, to standard output.   With  no  FILE,  or
when FILE is -, read standard input.
Mandatory  arguments  to  long  options are mandatory for short options
too.
-d, --delimiters=LIST
reuse characters from LIST instead of TABs
-s, --serial
paste one file at a time instead of in parallel
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David M. Ihnat and David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright © 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies  of  it  under  the
terms       of       the      GNU      General      Public      License
<http://www.gnu.org/licenses/gpl.html>.  There is NO WARRANTY,  to  the
extent permitted by law.
SEE ALSO
The full documentation for paste is maintained as a Texinfo manual.  If
the info and paste programs are properly installed at  your  site,  the
command
info paste
should give you access to the complete manual.