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

Try something like this:

r.mapcalc <<EOF
MASK= if(p.mask==1)
EOF

Bill Jackson
EN Division
Land Inventory Monitoring and
Assessment Team
USACERL