#3264 closed defect (fixed)
t.info -g not working with eval because of spaces in the output
Reported by: | veroandreo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.4 |
Component: | Temporal | Version: | svn-trunk |
Keywords: | t.info, eval | Cc: | |
CPU: | Unspecified | Platform: | Linux |
Description
eval `t.info -g tempmean`
gives the following error:
bash: 09:23:20.445316: command not found...
because there is a space in creation_time between the date and time. There are spaces in modification_time, start_time, end_time and granularity, as well. Here is part of the output of t.info -g tempmean
id=tempmean@climate_1970_2012 name=tempmean mapset=climate_1970_2012 creator=veroandreo temporal_type=absolute creation_time=2016-09-23 09:23:20.445316 modification_time=2016-09-23 09:25:30.412821 semantic_type=mean start_time=2000-01-01 00:00:00 end_time=2013-01-01 00:00:00 granularity=1 month map_time=interval
Maybe those spaces could be quoted?
Attachments (1)
Change History (8)
comment:1 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:2 by , 7 years ago
comment:7 by , 6 years ago
Milestone: | 7.0.7 → 7.2.4 |
---|
Note:
See TracTickets
for help on using tickets.
The attached patch should with eval but I don't know if it is changing behaviour in other situation.
Maybe a special flag for eval is needed?