Ticket #1162 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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:
Platform: All CPU: 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

in reply to: ↑ description   Changed 3 years ago by glynn

Replying to hamish:

Try r43541 (trunk).

  Changed 3 years ago by hamish

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

thanks, Hamish

  Changed 3 years ago by hamish

  • status changed from new to closed
  • resolution set to fixed

backported to 6.4 in r43606.

Note: See TracTickets for help on using tickets.