[GRASS-user] r.roughness again
Hamish
hamish_b at yahoo.com
Mon Jun 29 08:48:46 EDT 2009
Manuel Seeger wrote:
> Trying r.roughness we have still some problems:
>
> GRASS 6.4.0svn (Roughness_m):~/grass-addons >
> ./r.roughness map=DGM.rough.m grid=3
> [: 221: 1: unexpected operator
the script does:
### rows N-S
while [ `echo $south $maxsouth |awk '{printf("%d", $1 >= $2);}'` == 1 ];
do
I suspect "==" there should be "-eq". "==" is a bashism.
> Whats the problem? Can anybody help?
I suggest you get in contact with the script's author. There is not
much we can do to fix 3rd party addon scripts which are not held in
the addons SVN repository.
Hamish
More information about the grass-user
mailing list