initial commit

This commit is contained in:
ilyashramko
2023-11-09 23:12:10 +03:00
commit 027475e5c3
13 changed files with 1085 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/sh
BASEDIR=$(dirname $0)
ARGV=""
escape()
{
local ARG=$(echo -E $@ | sed "s/'/'\\\\''/g")
echo \'$ARG\'
}
i=1
while [ $i -le $# ]; do
eval ARG=\$\(escape \${$i}\)
ARGV="$ARGV $ARG"
i=`expr $i + 1`
done
eval "/usr/bin/env python3 "\
"$BASEDIR/search.py $ARGV"