summaryrefslogtreecommitdiff
path: root/dive-into-wikipedia.sh
diff options
context:
space:
mode:
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