find_matches

Source: io/find_matches.pro

 FIND_MATCHES
        find files matching the specified pattern, including
        compressed &/| incomplete versions as appropriate.

 Usage:
        list=find_matches(pattern, path)

 Argument:
        pattern string  input   The pattern (excluding directory name)
                                to match.
        path    string  input   A list of idrectories in which to
                                search. 

 Keyword:
        no_derivatives  If set then don't look for compressed files, i
                        prefixes etc. Set to 2 to look for suffix
                        derivatives but not prefix derivatives

 Restrictions:
        Compressed names are only searched in Unix versions.

 History:
        Original (adapted and extended out of make_fname): 20/10/94;
        SJT
        Added a search path: 21/12/99; SJT
        Change method to accomodate systems where findfile won't
        work on a full path: 14/4/00; SJT
        Add no_derivatives key: 3/7/00; SJT
        Convert to file_search: 11/4/03; SJT
        replace direxist with file_test; 15/4/03; SJT
        Remove VMS support: 15/4/03; SJT
        Change file_search call to non-recursive form (it's 35 times
        quicker over NFS): 12/11/03; SJT
        Add option for only searching suffices, not prefices: 25/1/05; SJT



James Tappin 2005-02-04