[GRASS-user] Re: Editing a bash script
neteler at osgeo.org
Fri Mar 18 08:19:20 EDT 2011
On Fri, Mar 18, 2011 at 12:24 PM, Rebecca Bennett <rabennett at ymail.com> wrote:
> Thanks for the heads up Marcus, g.ask works like a charm now.
> Part of my script includes a choice of external. asc files, is there an
> equivalent to g.ask command the user to enter this file path/ name?
Not sure if I fully understand. But perhaps it is the "read" shell function
which you mean:
echo -n "Enter file name: "
Then $USERFILE contains the file name (or whatever the user entered).
More information about the grass-user