aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/htsearch
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/htsearch')
-rwxr-xr-xsrc/hyper/htsearch12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/hyper/htsearch b/src/hyper/htsearch
new file mode 100755
index 00000000..84e272c7
--- /dev/null
+++ b/src/hyper/htsearch
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+htbindir=$AXIOM/lib
+htpagedir=$AXIOM/share/hypertex/pages
+
+
+if test -z "$1"
+then
+ echo ""|$htbindir/presea case=1 -
+else
+( cd $htpagedir; $htbindir/hthits "$1" $htpagedir/ht.db |sort -r -n +0.22 |$htbindir/presea case=0 expr="$1" -)
+fi