[GRASS-SVN] r37582 - in grass/trunk/general: g.list g.mlist

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 29 05:26:48 EDT 2009


Author: hamish
Date: 2009-05-29 05:26:48 -0400 (Fri, 29 May 2009)
New Revision: 37582

Modified:
   grass/trunk/general/g.list/g.list.html
   grass/trunk/general/g.mlist/g.mlist.html
Log:
document mapset=. (merge from devbr6)

Modified: grass/trunk/general/g.list/g.list.html
===================================================================
--- grass/trunk/general/g.list/g.list.html	2009-05-29 09:25:16 UTC (rev 37581)
+++ grass/trunk/general/g.list/g.list.html	2009-05-29 09:26:48 UTC (rev 37582)
@@ -3,31 +3,7 @@
 <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>
 
 If unspecified, files of the specified <em>type</em> from all mapsets 
@@ -36,24 +12,45 @@
 <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>

Modified: grass/trunk/general/g.mlist/g.mlist.html
===================================================================
--- grass/trunk/general/g.mlist/g.mlist.html	2009-05-29 09:25:16 UTC (rev 37581)
+++ grass/trunk/general/g.mlist/g.mlist.html	2009-05-29 09:26:48 UTC (rev 37582)
@@ -1,7 +1,12 @@
 <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>
 
 List all available GRASS data base files:
@@ -59,12 +64,14 @@
   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 @@
 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 at 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>



More information about the grass-commit mailing list