[GRASSLIST:3495] Re: script for importing Terra-ASTER data
Paul Kelly
paul-grass at stjohnspoint.co.uk
Wed May 26 06:01:09 EDT 2004
On Wed, 26 May 2004, Zbigniew Perski wrote:
>
> ?! Another way:
>
> GRASS:~ > sh r.in.aster
> : command not found:
> : command not found:
> : command not found:
> '.in.aster: line 58: syntax error near unexpected token `in
> '.in.aster: line 58: `case $GIS_OPT_band in
>
[...]
> So, what is wrong? I am using grass5.0.3, is it a case?
>
The script only works on GRASS 5.7 (uses g.proj), but that is not your
problem here. It has DOS line endings. Fix it by running
dos2unix r.in.aster
or some other line ending-conversion tool
Paul
More information about the grass-user
mailing list