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



      

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to