as result list. This makes sense if you intend to search just by using the navigation tools to cut the data set into navigation 'slices'.pull/1/head
parent
1f33c30d7b
commit
1228a5798d
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2)
|
||||
if which curl &>/dev/null; then
|
||||
curl -s "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }'
|
||||
elif which wget &>/dev/null; then
|
||||
wget -q -O - "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }'
|
||||
else
|
||||
echo "Neither curl nor wget installed!"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in new issue