Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e3d62627d1d1aab7ab1be2dd7f65a872 > files > 253

ecl-10.4.1-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>12.2.&#160;Dictionary</title><link rel="stylesheet" href="ecl.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The ECL manual"><link rel="up" href="ch12.html" title="Chapter&#160;12.&#160;Files"><link rel="prev" href="ch12.html" title="Chapter&#160;12.&#160;Files"><link rel="next" href="ch13.html" title="Chapter&#160;13.&#160;Streams"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">12.2.&#160;Dictionary</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch12.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;12.&#160;Files</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch13.html">Next</a></td></tr></table><hr></div><div class="section" title="12.2.&#160;Dictionary"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec.ansi.files.dict"></a>12.2.&#160;Dictionary</h2></div></div></div><div class="section" title="12.2.1.&#160;DIRECTORY"><div class="titlepage"><div><div><h3 class="title"><a name="sec.ansi.files.directory"></a>12.2.1.&#160;<code class="function">DIRECTORY</code></h3></div></div></div><p>This function does not have any additional arguments other than the
   ones described in <a class="xref" href="bi01.html#bib.ANSI">ANSI</a>. To list files and directories, it follows the
   rules for matching pathnames described in <a class="xref" href="ch11s02.html" title="11.2.&#160;Wild pathnames and matching">Section&#160;11.2</a>. In short, you have the following
   practical examples:</p><div class="table"><a name="id645895"></a><p class="title"><b>Table&#160;12.1.&#160;Examples of using <code class="function">DIRECTORY</code></b></p><div class="table-contents"><table summary="Examples of using DIRECTORY" border="1"><colgroup><col><col></colgroup><thead><tr><th>Argument</th><th>Meaning</th></tr></thead><tbody><tr><td><code class="literal">"/home/jlr/*.*"</code></td><td>List all files in directory <code class="filename">/home/jlr/</code> Note
       that it lists only files, not directories!</td></tr><tr><td><code class="literal">"/home/jlr/*"</code></td><td>Same as before, but only files without type.</td></tr><tr><td><code class="literal">"/home/jlr/*/"</code></td><td>List all directories contained in
       <code class="filename">/home/jlr/</code>. Nested directories are not
       navigated.</td></tr><tr><td><code class="literal">"/home/jlr/**/*.*"</code></td><td>List all files in all directories contained in
       <code class="filename">/home/jlr/</code>, recursively. Nested directories are
       navigated.</td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch12.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch12.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch13.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;12.&#160;Files&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;13.&#160;Streams</td></tr></table></div></body></html>