aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/htsearch
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-03-07 15:19:01 +0000
committerdos-reis <gdr@axiomatics.org>2008-03-07 15:19:01 +0000
commit8531f4c74274b8aa99168d220738227557a9c418 (patch)
treec50b77870e432317be8f99c248e1339f74b51661 /src/hyper/htsearch
parent33949ff2e6e5b5abe8d22c5604f42a6c9371079a (diff)
downloadopen-axiom-8531f4c74274b8aa99168d220738227557a9c418.tar.gz
* hyper/: De-pamphletize.
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