浏览代码

document mapset=. (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37582 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 年之前
父节点
当前提交
435f18fe37
共有 2 个文件被更改,包括 40 次插入32 次删除
  1. 24 27
      general/g.list/g.list.html
  2. 16 5
      general/g.mlist/g.mlist.html

+ 24 - 27
general/g.list/g.list.html

@@ -3,30 +3,6 @@
 <em>g.list</em> allows the user to list user-specified, available
 and accessible files from <em>mapsets</em> under the user's current location.
 
-<!--
-<h2>OPTIONS</h2>
-
-When invoked simply as <b>g.list</b>, the program prompts
-the user for the type of data to be listed from all
-<em>mapsets</em> in the user's current mapset search path.
-The user can list files from a mapset not listed in the
-current mapset search path by running the program
-non-interactively, specifying the (optional) flag setting
-and parameter values on the command line.  Program flag and
-parameters are described below.
--->
-
-<h2>EXAMPLES</h2>
-
-List all raster maps:
-<br>
-<tt>g.list type=rast</tt>
-<p>
-
-List all raster and vector maps from mapset &quot;user&quot;:
-<br>
-<tt>g.list type=rast,vect mapset=user</tt>
-<p>
 
 <h2>NOTES</h2>
 
@@ -36,24 +12,45 @@ find out which mapsets are in the cuurent search path, use
 <em><a HREF="g.mapsets.html">'g.mapsets</a> -p'</em>.
 
 <p>
+If the <b>mapset</b> option is set to "." then only maps from the
+current mapset will be displayed.
 
+<p>
 If the user requests that files from a mapset to which
 access has been restricted (see
-
 <em><a HREF="g.access.html">g.access</a></em>)
-
 be listed, no files from this mapset will be listed.
 
+
+<h2>EXAMPLES</h2>
+
+List all raster maps:
+<br>
+<div class="code"><pre>
+   g.list type=rast
+</pre></div>
+
+<p>
+
+List all raster and vector maps from mapset &quot;user&quot;:
+<br>
+<div class="code"><pre>
+   g.list type=rast,vect mapset=user
+</pre></div>
+
+
 <h2>SEE ALSO</h2>
 
 <em><a HREF="g.access.html">g.access</a></em><br>
 <em><a HREF="g.mapsets.html">g.mapsets</a></em><br>
 <em><a HREF="g.mlist.html">g.mlist</a></em>
 
+
 <h2>AUTHOR</h2>
 
 Michael Shapiro,
 U.S.Army Construction Engineering 
 Research Laboratory
 
-<p><i>Last changed: $Date$</i><p>
+<p>
+<i>Last changed: $Date$</i>

+ 16 - 5
general/g.mlist/g.mlist.html

@@ -1,6 +1,11 @@
 <h2>DESCRIPTION</h2>
 
-<em>g.mlist</em> searches for data files matching a pattern given by wildcards or POSIX Extended Regular Expressions.
+<em>g.mlist</em> searches for data files matching a pattern given by
+wildcards or POSIX Extended Regular Expressions.
+
+<P>
+See the <EM>g.list</EM> help page for discussion of module options.
+
 
 <h2>EXAMPLES</h2>
 
@@ -59,12 +64,14 @@ Print out "tmp" if "tmp" raster map exists:
   g.mlist -r pattern='^tmp$'
 </pre></div>
 
-Print out "tmp0" ..."tmp9" if corresponding vector map exists (each map name linewise):
+Print out "tmp0" ..."tmp9" if corresponding vector map exists
+ (each map name linewise):
 <div class="code"><pre>
   g.mlist -r type=vect pattern='^tmp[0-9]$'
 </pre></div>
 
-Print out "tmp0" ..."tmp9" if corresponding vector map exists (each map name comma separated):
+Print out "tmp0" ..."tmp9" if corresponding vector map exists
+ (each map name comma separated):
 <div class="code"><pre>
   g.mlist -r type=vect separator=, pattern='^tmp[0-9]$'
 </pre></div>
@@ -72,15 +79,19 @@ Print out "tmp0" ..."tmp9" if corresponding vector map exists (each map name com
 This may be useful for other programs' parameter input 
 (e.g. <em><a href="r.series.html">r.series</a></em>).
 
+
 <h2>SEE ALSO</h2>
 
 <em><a href="g.list.html">g.list</a></em>
 <p>
-<a href="http://en.wikipedia.org/wiki/Regular_expression">Regular expression</a> (from Wikipedia, the free encyclopedia)
+<a href="http://en.wikipedia.org/wiki/Regular_expression">Regular expressions</a>
+(aka regex) -  from Wikipedia, the free encyclopedia
+
 
 <h2>AUTHOR</h2>
 
 Huidae Cho<br>
 grass4u@gmail.com
 
-<p><i>Last changed: $Date: 2008-06-28 04:37:22 -0500 (Sat, 28 Jun 2008) $</i>
+<p>
+<i>Last changed: $Date: 2008-06-28 04:37:22 -0500 (Sat, 28 Jun 2008) $</i>