summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-16 09:48:41 +0200
committerErich Eckner <git@eckner.net>2017-10-16 09:48:41 +0200
commitf0b796dd71120aca2fa6609a71f48e7e275e7c63 (patch)
tree211c329e16040d9c5ef696a0c5ea0fea49323b2b
parenteb23c487c95771151402deb41c8883fd5f357d78 (diff)
downloadbuff-di-wuff-f0b796dd71120aca2fa6609a71f48e7e275e7c63.tar.xz
buff-di-wuff: bugfix fuer wildcard-Urls
-rwxr-xr-xbuff-di-wuff3
1 files changed, 2 insertions, 1 deletions
diff --git a/buff-di-wuff b/buff-di-wuff
index 69b0d09..94cf6b1 100755
--- a/buff-di-wuff
+++ b/buff-di-wuff
@@ -25,7 +25,8 @@ grep '^[^#]' '/etc/buff-di-wuff.list' | \
wget -O - "${urlDir}" 2> /dev/null | \
tr '"<>' '\n' | \
grep "^${urlFile}\$" | \
- sort -u
+ sort -u | \
+ xargs -r printf "${urlDir}%s\n"
else
printf '%s\n' "${url}"
fi