summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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