yacy_search_server/bin/search.sh

4 lines
132 B
Bash
Executable File

#!/usr/bin/env sh
cd "`dirname $0`"
port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2)
./search1.sh -y localhost:$port "$1"