diff options
author | Nick White <git@njw.me.uk> | 2011-11-03 19:45:52 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-11-03 19:45:52 +0000 |
commit | aae23d585ddb3efa25e5ebfc07bf7c0d7dd5acd2 (patch) | |
tree | 7251781e7eb7e15d7d57626fa4ba70acb60c861a | |
parent | 92667d0f40c859c8e03ef57dcd2b79961b9a9622 (diff) |
Add example usages to man page
-rw-r--r-- | getabook.1 | 7 | ||||
-rw-r--r-- | getgbook.1 | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -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 @@ -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 |