summaryrefslogtreecommitdiff
path: root/getgbook.1
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-08-21 17:48:59 +0100
committerNick White <git@njw.me.uk>2011-08-21 17:48:59 +0100
commitba96802ba13f022047e93dfa96caddf4fff42146 (patch)
tree932c4490dc4150879e9d17b2b1783eb5d820d2d1 /getgbook.1
parent3ee5af0589fab8c0aec7425c3ca6ba3f27a9b35d (diff)
Create man page
Diffstat (limited to 'getgbook.1')
-rw-r--r--getgbook.131
1 files changed, 31 insertions, 0 deletions
diff --git a/getgbook.1 b/getgbook.1
new file mode 100644
index 0000000..9440030
--- /dev/null
+++ b/getgbook.1
@@ -0,0 +1,31 @@
+.\" See COPYING file for copyright, license and warranty details.
+.TH GETGBOOK 1 getgbook\-VERSION
+.SH NAME
+getgbook \- downloads books from google books
+.SH SYNOPSIS
+.B getgbook
+.RB [-c|-n]
+.RB bookid
+.SH DESCRIPTION
+getgbook downloads pages of books from google books' "book
+preview" service. Some pages are not available, in which
+case they will be skipped.
+.SH OPTIONS
+.TP
+.B \-c
+Downloads from page codes given on stdin (one code per line).
+Google books page codes are on of the following, followed by
+a number:
+.RB PP
+.RB PR
+.RB PA
+.RB PT
+.TP
+.B \-n
+Downloads from page numbers given on stdin (one number per
+line).
+.TP
+.B bookid
+is the unique ID Google assigns to each book. It is 12
+characters long. It can be found by looking for the 'id='
+part of the URL of its Google Books page.