[GRASS-dev] Simplified G_percent() output in batch jobs?

Markus Neteler neteler at osgeo.org
Mon Dec 29 10:41:06 EST 2008


On Sun, Dec 28, 2008 at 12:54 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Thu, Nov 6, 2008 at 11:21 AM, Markus Neteler <neteler at osgeo.org> wrote:
>> On Wed, Nov 5, 2008 at 11:31 PM, Glynn Clements wrote:
>>> Markus Neteler wrote:
>>>
>>>> >> I am running a large number of processing jobs on a
>>>> >> cluster and the job manager output is cluttered with
>>>> >> control chars from G_percent().
>>>> >> It would be great to have a switch (or detection magic)
>>>> >> to output the plain ASCII style 0..10...20.. in this cases.
>
> This was submitted and one obtains now:
>
> export GRASS_MESSAGE_FORMAT=plain
> r.slope.aspect elevation as=myaspect
> 2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100..
> Aspect raster map <aspect> complete
>
> Missing is a likewise change for lib/vector/Vlib/build_nat.c - (rather
> trivial) patch attached. Objections that I submit it?

thinking about it I have conditionalized it upon G_INFO_FORMAT_PLAIN
to keep behaviour as closest to the previous behaviour.

New patch attached.

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_nat.diff
Type: application/octet-stream
Size: 984 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20081229/8d2200fd/build_nat.obj


More information about the grass-dev mailing list