#2872: "r.info -e" output not compliant with eval
---------------------------+-------------------------
Reporter: andbal | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Shell Scripts | Version: svn-trunk
Keywords: shell, r.info | CPU: x86-64
Platform: Linux |
---------------------------+-------------------------
I've got an error using the command {{{eval `r.info -e <map_name>`}}}.
This is the output:
{{{
GRASS 7.1.svn (---):~ > eval `r.info -e map=soilheatflux.dos4`
bash: unexpected EOF while looking for matching `"'
bash: syntax error: unexpected end of file
}}}
The error is likely to be correlated to the flags {{{-e}}} because with
other flag (like {{{-r}}} for example), the command {{{eval}}} works well.
#2872: "r.info -e" output not compliant with eval
----------------------------+---------------------------
Reporter: andbal | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Shell Scripts | Version: svn-trunk
Resolution: | Keywords: shell, r.info
CPU: x86-64 | Platform: Linux
----------------------------+---------------------------
Comment (by andbal):
I add the output of {{{r.info -e}}} executed outside {{{eval}}}
{{{
GRASS 7.1.svn (L5_Papk):~ > r.info -e map=soilheatflux.dos4
map=soilheatflux.dos4
mapset=L5
location=L5_Papk
database=/home/andrea/GIS-software-data/GRASS-data
date="Thu Jan 21 09:06:28 2016"
creator="andrea"
title=" (soilheatflux.dos4)"
timestamp="none"
units="none"
vdatum="none"
source1=""
source2=""
description="generato da i.eb.soilheatflux"
comments="i.eb.soilheatflux albedo="albedo.dos4" ndvi="ndvi.dos4"
temperature=\"toa_temp.6" netradiation="rad.M1"
localutctime="overpass_utc" outpu\t="soilheatflux.dos4""
}}}
Another person suggest me that maybe is a quotes problem in the
{{{comments}}} field.