/[safari]/cover.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /cover.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Jan 15 13:05:17 2004 UTC (20 years, 2 months ago) by dpavlin
Branch: MAIN
File MIME type: application/x-sh
download book cover from Amazon

1 dpavlin 1.1 #!/bin/sh
2    
3     if [ -z "$1" ] ; then
4     echo "Usage: $0 ISBN"
5     exit 1
6     fi
7    
8     isbn=`echo $1 | sed 's/-//g'`
9     wget -O cover.jpg http://images.amazon.com/images/P/$isbn.01._SCLZZZZZZZ_.jpg
10     gqview cover.jpg

  ViewVC Help
Powered by ViewVC 1.1.26