GUTENFETCH(1)

GUTENFETCH
gutenfetch - Retrieve listings and books availiable from project gutenberg.

SYNOPSIS
gutenfetch [options]

OPTIONS

-h  Display usage and version.

-v  Turn on verbose error reporting.

-q  Turn off error reporting.

-o	<file>
    Direct output to a file, '-' is stdout, stdout is default.

-s	<server>
    Force the use of a particular server. The form must be in the form of '[http|ftp]://some.server.name/root/to/gutenberg/books/'

-l  List all books availiable on the gutenberg server. Consider using grep on the output to narrow the list such as gutenfetch -l | grep -i 'alice' | less to find "Alice in Wonderland" by Lewis Carroll

-f	<file>
    Fetch an etext off of the server. To fetch and read "Alice in Wonderland" you would use this command. gutenfetch -f alice | less In the book listings, you will see a filename in the form of basexxxx.xxx. For gutenfetch to retrieve the file the base of this filename must be given without x's. gutenfetch will then try to retrieve the first base*.zip file it finds on the server. It will then unzip the file and write its output to stdout or a file.

RESOURCES

gutenfetch makes use of three external programs grep , wget and unzip. If one of these programs is not availiable, gutenfetch will fail.

DIAGNOSTICS
gutenfetch will return a value of 1 on success and a value of 0 if something went wrong. This could be useful if you are building an application on top of gutenfetch.

SEE ALSO
wget(1) , grep(1) , unzip(1)

COPYRIGHT
gutenfetch is Copyright (c) 2001 Russell Francis. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

BUGS
Nope.

AUTHORS
Russell Francis <rf358197@oak.cats.ohiou.edu>