I have a lot of books...
Sat Jul 15 16:15:21 BST 2006
Moving back to Australia soon. Need to know what books I have and which boxes they are in for packing and possible replacement if any boxes do not arrive. Solution:
- Enter the ISBN numbers into a text file as 11 digit strings, one per line. Call this file isbnList.txt
One line shell script:
cat isbnList.txt | sed -e "s-^-http://isbn.nu/-" | xargs -J % curl % | grep "
" > booknames.txt
Clean up booknames.txt in Vim to remove the leading and trailing title tags. %s/^\s
// and similar for the trailing tag
- paste isbnList.txt booknames.txt > isbnandname.txt
0521643147 The Mathematica Book 0521377099 Student Manual for the Art of Electronics 0471599891 No Title Found 0195107365 No Title Found 0201540908 Mathematica for Scientists and Engineers 020154217X Applied Mathematica: Getting Started, Getting It Done 0201537966 Mathematica for Physics 0201528207 No Title Found 019859965X Modern Classical Optics 0198506961 Atomic Physics 0070323305 Fundamentals of Optics ...
The No Title Found entries seem to always be international editions of textbooks which are not for sale in the USA.