Opened 9 years ago

Closed 9 years ago

#1162 closed defect (fixed)

g.message: unwanted expansion

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.1
Component: Default Version: svn-releasebranch64
Keywords: g.message Cc:
CPU: All Platform: All

Description

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

Change History (3)

comment:1 in reply to:  description Changed 9 years ago by glynn

Replying to hamish:

Try r43541 (trunk).

comment:2 Changed 9 years ago by hamish

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

thanks, Hamish

comment:3 Changed 9 years ago by hamish

Resolution: fixed
Status: newclosed

backported to 6.4 in r43606.

Note: See TracTickets for help on using tickets.