>thanks - I added it but the first part: > >COUNTER = 1 > >already caused > >COUNTER: command not found > >can this bash scripting be used in GRASS like that at all? > >Martin Try getting rid of the extra spaces around the assignment statement: COUNTER=1 ~ Eric.