From aae23d585ddb3efa25e5ebfc07bf7c0d7dd5acd2 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 3 Nov 2011 19:45:52 +0000 Subject: Add example usages to man page --- getabook.1 | 7 +++++++ getgbook.1 | 7 +++++++ 2 files changed, 14 insertions(+) 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 -- cgit v1.2.3