summaryrefslogtreecommitdiff
path: root/dive-into-wikipedia.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-09 23:48:58 +0100
committerErich Eckner <git@eckner.net>2019-01-09 23:48:58 +0100
commit01dc6496d063a8f04f5716cd30098db4d0619481 (patch)
tree344470e32d9de88fc1ac676fcb4ec1769706a94e /dive-into-wikipedia.sh
parent747d6044dfcad03f2899f8b68cd37925a63ebbf7 (diff)
downloadmarkov-01dc6496d063a8f04f5716cd30098db4d0619481.tar.xz
geht jetzt
Diffstat (limited to 'dive-into-wikipedia.sh')
-rwxr-xr-xdive-into-wikipedia.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dive-into-wikipedia.sh b/dive-into-wikipedia.sh
index 8088e95..0f594bc 100755
--- a/dive-into-wikipedia.sh
+++ b/dive-into-wikipedia.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if [ $# -eq 0 ]; then
- "$0" 'https://de.wikipedia.org/wiki/Evolution'
+ printf 'https://de.wikipedia.org/wiki/Evolution\n'
elif [ $# -eq 1 ]; then
printf '%s\n' "$1"
curl -x 'socks5://127.0.0.1:9050' -s "$1" \
@@ -16,7 +16,7 @@ elif [ $# -eq 1 ]; then
' \
| grep -vxF ''
else
- parallel -n1 -j0 "$0"
+ parallel -n1 -j0 "$0" ::: "$@"
fi \
| sort -u