summaryrefslogtreecommitdiff
path: root/bin/myip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/myip.sh')
-rwxr-xr-xbin/myip.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/myip.sh b/bin/myip.sh
new file mode 100755
index 000000000..68d8ac569
--- /dev/null
+++ b/bin/myip.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+cd "`dirname $0`"
+./apicall.sh "/yacy/seedlist.xml?my=" | awk '/<IP>/{ gsub("<IP>","" );gsub("<\/IP>","" ); print $0 }' | awk '{print $1}';