/[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

Contents of /cover.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Mon Jan 19 16:49:33 2004 UTC (20 years, 2 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -0 lines
File MIME type: application/x-sh
hi-quality O'Reilly covers archive (commeted)

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' | tr [A-Z] [a-z]`
9 #wget -O cover.jpg ftp://ftp.ora.com/pub/graphics/book_covers/hi-res/$isbn.jpg
10
11 isbn=`echo $1 | sed 's/-//g'`
12 wget -O cover.jpg http://images.amazon.com/images/P/$isbn.01._SCLZZZZZZZ_.jpg
13 gqview cover.jpg

  ViewVC Help
Powered by ViewVC 1.1.26