Go to the previous, next section.
@everyfooting Author: ensley // Editor: hiren // Texinfo: rootd @| @| 3 December 1994
There are four major search types in Archie:
Exact searches are useful if you know the exact name of a file you are looking for but do not know the location. This is the fastest search method.
Here is an example of Exact Search
zetar:~$ archie -e joe.tar.Z Host bode.ee.ualberta.ca Location: /pub/unix/EDITORS FILE -rw-r--r-- 76589 Dec 10 1993 joe.tar.Z Host ftp.cs.ubc.ca Location: /mirror3/linux/tsx-11/binaries/usr.bin/Editors FILE -rw-rw-r-- 69555 Jun 30 19:11 joe.tar.Z Location: /mirror3/linux/tsx-11/sources/usr.bin FILE -rw-rw-r-- 201239 Jul 1 02:14 joe.tar.Z Host hpcsos.col.hp.com Location: /mirrors/.scsi0/linux/sources/usr.bin FILE -r--r--r-- 201239 Nov 15 1992 joe.tar.Z Host faui43.informatik.uni-erlangen.de Location: /mounts/epix/public/pub/Linux/MIRROR.tsx-11/binaries /usr.bin/Editors FILE -r--r--r-- 69555 Mar 30 1992 joe.tar.Z Location: /mounts/epix/public/pub/Linux/MIRROR.tsx-11/sources/usr.bin FILE -r--r--r-- 201239 Nov 16 1992 joe.tar.Z
Search String Returned Names ------------- -------------- joe.tar.Z joe.tar.Z
TeX, a text formatting system, is always spelled "TeX" and it's documents have the extension ".tex". Using the case sensitive search in this case, we can distinguish between matches for the program (TeX*) and the program documents (*.tex).
Search String Returned Names ------------- -------------- TeX TeX-3.14.tar.gz, README.TeX, ... tex macros.tex, bib.tex, ...
Search String Returned Names ------ ------ -------- ----- tex macros.tex, bib.tex, README.TeX, TeX-3.14.tar.gz, ... TeX macros.tex, bib.tex, README.TeX, TeX-3.14.tar.gz, ...
Searching for current sun bug fixes: [0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9]\.tar Which will find filenames which consist of six digits, then a dash, two digits, a period and then the string tar, for example 100075-09.tar.Z and 100149-03.tar.Z
Searching for complete distributions of emacs 19: ^emacs.*19[^-]*\.tar Which will find filenames starting with emacs, having 19 somewhere after that, and then any character but a - until a .tar , i.e.: emacs-19.15.tar.gz, emacs-19.16.tar.gz, emacs-19.17.tar.gz, ...
Rules for converting file globs to Archie regular expression format
Shell expression Archie expression ---------------- ----------------- *.txt ^.*\.txt$ *.exe ^.*\.exe$ x* ^x.*$ p*.zip ^p.*\.zip$
Go to the previous, next section.