[GRASS-dev] [GRASS GIS] #1964: m.proj on wingrass: protect g.proj's path name to the grid file

GRASS GIS trac at osgeo.org
Sun May 5 02:01:45 PDT 2013


#1964: m.proj on wingrass: protect g.proj's path name to the grid file
---------------------------------------------+------------------------------
 Reporter:  hamish                           |       Owner:  grass-dev@…              
     Type:  defect                           |      Status:  new                      
 Priority:  major                            |   Milestone:  6.4.4                    
Component:  Shell Scripts                    |     Version:  svn-releasebranch64      
 Keywords:  wingrass, m.proj, cs2cs, g.proj  |    Platform:  MSWindows XP             
      Cpu:  x86-32                           |  
---------------------------------------------+------------------------------

Comment(by hamish):

 if it helps, here's another little tool from $GISBASE/etc/init.sh:

 {{{
 dos2unix_path()
 {
    echo "$1" | sed -e 's|^\([A-Za-z]\):|/\1|' -e 's|\\|/|g'
 }
 }}}


 Hamish

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



More information about the grass-dev mailing list