[GRASS-dev] gis.m command tool
Michael Barton
michael.barton at asu.edu
Thu Nov 15 10:11:05 EST 2007
On 11/15/07 12:35 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:
> Hi,
>
> In reviewing the gis.m man page, I notice this:
>
> <DT><img src="icons/gui-cmd.gif"> Add command layer</DT>
> <DD>Adds a layer in which a GRASS GIS command or command list can be entered.
> For a command list use the pipe symbol as "|" as separator.
> For example:
>
> <div class="code"><pre>
> d.rast soils | d.rast -o roads | d.vect streams col=blue
> </pre></div>
>
> Note that when an option of the command contains spaces, you need to
> escape them with the backslash ('\') character, for example:<BR>
> <tt>d.text.freetype text=Population\ density</tt>
> </DD>
>
>
> any reason why that is not using ';' for the command sep? It would seem to
> make a lot more sense, match other bgcmd='s etc.
>
Tradition.
Seriously, this is simply one of the small fragments of interface code that
has remained untouched since GRASS 5.1 and 5.7. A semi-colon makes a lot
more sense than a bar.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list