[GRASS-dev] [GRASS GIS] #1162: g.message: unwanted expansion

#1162: g.message: unwanted expansion
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: svn-releasebranch64
Keywords: g.message | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------
Hi, g.message should echo verbatim, but it's parsing the contents of the
string:

{{{
GRASS65> g.message "%.8f"
0.00000000

GRASS65> g.message "%.8\f"
%.8\f
}}}

presumably if that is getting parsed/expanded, then other more nasty
things could be as well.

tested in grass 640,65svn, and trunk, in WinGrass and Linux.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1162&gt;
GRASS GIS <http://grass.osgeo.org>

#1162: g.message: unwanted expansion
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: svn-releasebranch64
Keywords: g.message | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------

Comment(by glynn):

Replying to [ticket:1162 hamish]:

Try r43541 (trunk).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1162#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1162: g.message: unwanted expansion
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: svn-releasebranch64
Keywords: g.message | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------

Comment(by hamish):

r43541 works for me. backported to 6.5svn with r43548.

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1162#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1162: g.message: unwanted expansion
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.1
Component: Default | Version: svn-releasebranch64
Resolution: fixed | Keywords: g.message
  Platform: All | Cpu: All
----------------------+-----------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * resolution: => fixed

Comment:

backported to 6.4 in r43606.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1162#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>