bashism [was; Re: [GRASS-user] Parallel GRASS jobs]
Glynn Clements
glynn at gclements.plus.com
Sat Jul 8 03:13:22 EDT 2006
Maciek Sieczka wrote:
> > > > I have extended the "GRASS and Shell" page in the wiki
> > > > to explain how to launch parallel GRASS jobs:
> > > > http://grass.gdf-hannover.de/wiki/GRASS_and_Shell
> > > >
> > > > Feel free to further improve the page.
> > >
> > > Markus,
> > >
> > > The page contains bashisms like "export GISBASE=/usr/local/grass60".
> > > Shall I de-bash it in this regard?
> >
> > ash also supports that syntax; coupled with the fact that I don't
> > recall any reports of problems caused by the numerous occurrences of
> > that syntax in the supplied scripts, it's probably safe to assume that
> > it works with any Bourne-style shell which is still in active use.
>
> So, do we want such syntax to be corrected? Is it worth the effort at
> all given what you are saying?
I don't think that there's any point.
We can revisit the issue in the (unlikely) event that someone manages
to identify a system where the "export variable=value" syntax doesn't
work (and running GRASS on that system would otherwise be feasible).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list