home *** CD-ROM | disk | FTP | other *** search
- /* Simple ARexx script search your Aminet Index file for a */
- /* Keyword specified in the arguments. The minimum length */
- /* of the keyword is set to 4 chars, to stop people */
- /* searching for single characters and producing VERY long */
- /* outputs! - Dominic */
-
-
- /* The path to your index file(s) */
- aminetindex = 'dh1:aminet/#?'
- parse arg line
-
- writeln(stdout,"Aminet search utility")
- writeln(stdout,"---------------------")
- writeln(stdout,"")
- writeln(stdout,"Search keyword: "line)
- writeln(stdout,"")
-
-
- if length(line)<4 then
- writeln(stdout,"(Sorry, specified keyword must be at least 4 characters long.")
- else
- address command 'search 'aminetindex' 'line' pattern nonum'
-
- writeln(stdout,"")
- writeln(stdout,"--")
- writeln(stdout,"Aminet search utility by D. Ramsey.")
-
-