tim at snow.nohrsc.nws.gov
Wed Dec 1 12:18:35 EST 1993
> I cant get a shell script to work. This one is supposed to execute
> r.in.ascii for several hundred files
> for FILENAME in 'ls /u1/copeland/rams3a/van/*00'
> r.in.ascii input=/u1/copeland/rams3a/van/$FILENAME output=$FILENAME
> when executed I get the following error message
> Sorry </u1/copeland/rams3a/van/PTOTAL-07-15-00> is not a valid option
Looks like you're using forward ticks ' instead of back ticks `,
so for is treating ls and /u1/... as members of a list.
More information about the grass-dev