diff options
author | kaa <kaa@laptosh.my.domain> | 2024-07-03 08:41:58 -0700 |
---|---|---|
committer | kaa <kaa@laptosh.my.domain> | 2024-07-03 08:41:58 -0700 |
commit | 315e747a4c067752dfc69d3d2d6dc23f0c30d8c0 (patch) | |
tree | 691355b90ee7e104e58d6ba3f6615bcc9d114057 /dl.rc |
Public release.
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 + } +} |