diff options
Diffstat (limited to 'dl.rc')
-rwxr-xr-x | dl.rc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/usr/local/plan9/bin/rc + +base = 'https://www.googleapis.com/books/v1/volumes?q=' +for (i in `{cat list}) { + if (test -f $i) { + } + if not { + curl $base$"i > $"i + } +} |