[GRASS-dev] [GRASS GIS] #3996: Allow multiple --exec's

GRASS GIS trac at osgeo.org
Sun Nov 24 19:44:33 PST 2019


#3996: Allow multiple --exec's
--------------------------+---------------------------------
  Reporter:  jidanni      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  trivial      |  Milestone:
 Component:  Startup      |    Version:  git-releasebranch78
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by mankoff):

 Somewhat related - you can use HEREDOCs:

 {{{
 grass -c template.tif ./G --exec <<EOF
 r.external input=foo.tif output=foo
 r.out.gdal input=foo output=bar.tif
 EOF
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3996#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list