Need for command line version of r.mask in GRASS4.0

I am needing a command line version of r.mask.

Does such a beast exist. Any help would be appreciated.

Thanks
Steffen Meyer

Steffen Meyer, PE Water Resource Engineer, Civil Engineering
Graduate Student in Water Resources, Colorado State University
EMail: sm646601@lance.colostate.edu

+++++++++++++++++++++++++++++

Steffen,
  The big secret to r.mask is that it creates a new map from
an existing one called: MASK . You can create a mask from any map
by simply using g.copy rast="yourmap",MASK . The mask created will
include all areas with a category value in "yourmap", so a reclass
may be needed to specify specific locations prior to copying "yourmap".

Hope this works for you,

--
R. Brian Culpepper Research Assistant
---------------------------------------------------------------------
Center for Advanced Spatial Technologies (fax) 501 575-3846
Rm. 214 Ozark Hall (work) 501 575-6159
University of Arkansas brian@cast.uark.edu
Fayetteville, AR 72701

All opinions are my own and do not necessarily reflect those of the
Center for Advanced Spatial Technologies or the University of Arkansas.