search.dcgi - gopherhole - My gopherhole source code.
(HTM) git clone git://jay.scot/gopherhole
(DIR) Log
(DIR) Files
(DIR) Refs
---
search.dcgi (407B)
---
1 #!/bin/sh
2 # based on the bitreich search.
3
4 search="$1"
5
6 printf "[jay.scot]\n"
7 printf "[SEARCH]\n\n"
8
9 if [ -z "${search}" ];
10 then
11 printf "Please enter your search query.\n"
12 printf "[7|Search|/meta/search.dcgi|server|port]\n"
13 else
14 printf "Search Results\n\n"
15 ./search.sh "${search}"
16 printf "\n"
17 printf "[7|Search again|/meta/search.dcgi|server|port]\n"
18 fi
19
20 printf "[1|Turn yersel hame|/|server|port]\n"