#195: -g flag in r.proj/v.proj for easily-parsable output for use in scripts
-------------------------------------------+--------------------------------
 Reporter:  epatton                        |       Owner:  
[email protected]
     Type:  enhancement                    |      Status:  new                  
    
 Priority:  trivial                        |   Milestone:  6.4.0                
    
Component:  Raster                         |     Version:  svn-trunk            
    
 Keywords:  r.proj, output, print, script  |    Platform:  Linux                
    
      Cpu:  x86-64                         |  
-------------------------------------------+--------------------------------
 Hi,

 Currently r.proj -l spits out a tab-separated list of rasters; I would
 like to request a -g flag to print out rasters (and vectors with v.proj)
 one per line so it's easily parsable in one-liner scripts a la:
 {{{
 for MAP in `r.proj -g location=spearfish mapset=PERMANENT` ; do
 r.proj $MAP ...etc.
 }}}

 Thanks,

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/195>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to