Daniel Rodriguez writes:
Is it possible to run a do loop in GRASS4.0 with a scipt file. I need to convert
254 dlgs into coverages and trying to avoid doing this manually.
Daniel,
GRASS programs run directly under UNIX, and most are adapted specifically to
work with standard input and output in command line usage. Without using shell
scripts you are missing out on half the power of GRASS. If you don't already
have one, you owe it to yourself to get a book on shell programming; my
personal choice is UNIX Shell Programming, by Stephen G. Kochan and Parick H.
Wood (Hayden Books).
To give you a specific answer, there are both "for next" and "do while"
structures in Bourne shell. I'll leave it for you to look up the syntax.
Happy scripting!!
--
Malcolm D. Williamson - Research Assistant E-mail: malcolm@cast.uark.edu
Center for Advanced Spatial Technologies Telephone: (501) 575-6159
Ozark Rm. 12 Fax: (501) 575-3846
University of Arkansas
Fayetteville, AR 72701