[GRASS-dev] Print in one line a `g.message` and a raster's processing % progress counter
Nikos Alexandris
nik at nikosalexandris.net
Sat Nov 9 01:59:32 PST 2013
A GRASSy shell script print's out, by using g.messave -i (or similar), something like:
--%<---
[1] ...
[2] "Some message..."
100%
[3] "Another message..."
100%
[4] "And another message..."
100%
[5] ...
--->%--
I would like to have the % progress counter right after the message, in the same line and
not printed in a new line. How is this to be achieved?
This is a bash shell question. Yet, what technique is there for a python script?
Thank you, Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20131109/6b71357b/attachment.html>
More information about the grass-dev
mailing list