summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-11-19 17:33:30 +0000
committerNick White <git@njw.me.uk>2011-11-19 17:33:30 +0000
commitd587d832498fb1ba478fd03c4ec792448922c870 (patch)
tree2b1dda205705d2bef852ddaa7a219f46a0a83557
parente7d59e3c9221ea6d90c5e242044d4566eeea507d (diff)
Add getbnbook manpage and fix typos in getabook manpage
-rw-r--r--getabook.14
-rw-r--r--getbnbook.127
2 files changed, 29 insertions, 2 deletions
diff --git a/getabook.1 b/getabook.1
index 58ef5c5..33576e1 100644
--- a/getabook.1
+++ b/getabook.1
@@ -25,5 +25,5 @@ characters long. It can be found by looking for the
.B download all available pages of a book
getabook 161293031X
.TP
-.B download the first 5 pages of a book
-seq 5 10 | getgbook -n 161293031X
+.B download pages 5 - 10 of a book
+seq 5 10 | getabook -n 161293031X
diff --git a/getbnbook.1 b/getbnbook.1
new file mode 100644
index 0000000..580fc53
--- /dev/null
+++ b/getbnbook.1
@@ -0,0 +1,27 @@
+.\" See COPYING file for copyright, license and warranty details.
+.TH GETBNBOOK 1 getbnbook\-VERSION
+.SH NAME
+getbnbook \- downloads books from barnes and noble
+.SH SYNOPSIS
+.B getbnbook
+.RB [-n]
+.RB isbn13
+.SH DESCRIPTION
+getbnbook downloads pages of books from barnes and noble's
+"book viewer" service. Some pages are not available, in
+which case they will be skipped.
+.SH OPTIONS
+.TP
+.B \-n
+Downloads from page numbers given on stdin (one number per
+line).
+.TP
+.B isbn13
+is the ISBN-13 number of a book. It is 13 digits long.
+.SH EXAMPLES
+.TP
+.B download all available pages of a book
+getbnbook 9780060850524
+.TP
+.B download the first 20 pages of a book
+seq 20 | getbnbook -n 9780060850524