[GRASS-dev] Re: [GRASS GIS] #571: v.db.addcol: fails if path contains spaces

GRASS GIS trac at osgeo.org
Tue May 5 08:30:39 EDT 2009


#571: v.db.addcol: fails if path contains spaces
--------------------------+-------------------------------------------------
  Reporter:  pcav         |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  closed                   
  Priority:  normal       |   Milestone:  6.4.0                    
 Component:  default      |     Version:  unspecified              
Resolution:  fixed        |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by mlennert):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 The OP uses 6.3 and in that version spaces weren't supported because of


 {{{
 database=`v.db.connect $GIS_OPT_MAP -g | grep -w $GIS_OPT_LAYER | awk
 '{print $4}'`
 driver=`v.db.connect $GIS_OPT_MAP -g | grep -w $GIS_OPT_LAYER | awk
 '{print $5}'`
 }}}

 This has since (6.4+) been fixed through the use of the new fs= parameter
 in v.db.connect:


 {{{
 database=`v.db.connect $GIS_OPT_MAP -g fs=";" | grep -w $GIS_OPT_LAYER |
 awk -F ";" '{print $4}'`
 driver=`v.db.connect $GIS_OPT_MAP -g fs=";" | grep -w $GIS_OPT_LAYER | awk
 -F ";" '{print $5}'`
 }}}

 So, closing the ticket as fixed. If you can reproduce with 6.4+, please
 reopen.

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/571#comment:6>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list