On Feb 9, 2009, at 7:20 AM, <grass-user-request@lists.osgeo.org> wrote:
Date: Mon, 9 Feb 2009 13:44:40 +0100
From: Markus Neteler <neteler@osgeo.org>
Subject: Re: [GRASS-user] v.colors rules
To: Paolo Craveri <pcraveri@gmail.com>
Cc: GRASS users list <grass-user@lists.osgeo.org>
Message-ID:
<86782b610902090444x55b73022r724aa6bfbe8d0d14@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1On Mon, Feb 9, 2009 at 12:12 PM, Paolo Craveri <pcraveri@gmail.com> wrote:
Hi to all
How v.colors with option rules works ?
Paolo,
in line 160 of the script, can you change
if [ -n "$OPTNAME" ] ; then
to
if [ -z "$OPTNAME" ] ; thenand report back? For me it works like this (maybe it
breaks something else?!).
This is a truly cool new script. But I have a question. Weren't we going to try to pythonize new scripts that ship with GRASS so that they work more reliably cross-platform?
Michael