home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / languages / tcl / !tcldoc / doc / RiscOS / glob < prev    next >
Encoding:
Text File  |  1996-01-17  |  1.9 KB  |  46 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" All rights reserved.
  4. '\"
  5. '\" Permission is hereby granted, without written agreement and without
  6. '\" license or royalty fees, to use, copy, modify, and distribute this
  7. '\" documentation for any purpose, provided that the above copyright
  8. '\" notice and the following two paragraphs appear in all copies.
  9. '\"
  10. '\" IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
  11. '\" FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
  12. '\" ARISING OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
  13. '\" CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  14. '\"
  15. '\" THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
  16. '\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  17. '\" AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
  18. '\" ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
  19. '\" PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  20. '\" 
  21. '\" $Header: /user6/ouster/tcl/man/RCS/glob.n,v 1.3 93/06/17 15:50:54 ouster Exp $ SPRITE (Berkeley)
  22. '\"  Modified for RISCOS by C.T.Stretch Mon,15 Aug 1994
  23. '\" 
  24. .so man.macros
  25. .HS glob tcl 7.0
  26. .BS
  27. '\" Note:  do not modify the .SH NAME line immediately below!
  28. .SH NAME
  29. glob \- Return names of files that match patterns
  30. .SH SYNOPSIS
  31. \fBglob \fIwilcarded-filename  ?filetype\fR?
  32. .BE
  33.  
  34. .SH DESCRIPTION
  35. .PP
  36. \fBglob\fR returns a list of leafnames of  the files whose names match 
  37. the \fIwildcarded-filename\fR argument. Wildcards can be # or * in the
  38. leaf name only.
  39. \fI Filetype \fR can be a decimal integer filetype, a file type name,
  40. or the special names \fBdirectory\fR or \fBapplication\fR.
  41. An error is returned if the directory does not exist. An empty list is
  42. returned if there are no objects matching the specification.
  43.  
  44. .SH KEYWORDS
  45. exist, file, glob, pattern
  46.