summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getabook.17
-rw-r--r--getgbook.17
2 files changed, 14 insertions, 0 deletions
diff --git a/getabook.1 b/getabook.1
index acdae51..58ef5c5 100644
--- a/getabook.1
+++ b/getabook.1
@@ -20,3 +20,10 @@ line).
is the unique ID Amazon assigns to each product. It is 10
characters long. It can be found by looking for the
\'/xxxxxxxxxx/\' part of the URL of its Amazon page.
+.SH EXAMPLES
+.TP
+.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
diff --git a/getgbook.1 b/getgbook.1
index b38af69..f374bbf 100644
--- a/getgbook.1
+++ b/getgbook.1
@@ -44,3 +44,10 @@ However Google Books also limits the number of pages based on
IP address, for 24 hours. Therefore if not all pages are
downloaded it may be worth rerunning getgbook in 24 hours, or
from a different IP.
+.SH EXAMPLES
+.TP
+.B download all of a book
+getgbook ta1uaL7RF5g
+.TP
+.B download the first 100 pages of a book
+seq 100 | getgbook -n ta1uaL7RF5g