[GRASS-dev] [GRASS GIS] #2745: i.cluster: report file has wrong linebreaks on Windows

GRASS GIS trac at osgeo.org
Sun Dec 20 05:08:46 PST 2015


#2745: i.cluster: report file has wrong linebreaks on Windows
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  martinl
      Type:  defect       |     Status:  assigned
  Priority:  normal       |  Milestone:  7.0.3
 Component:  Imagery      |    Version:  svn-releasebranch70
Resolution:               |   Keywords:  i.cluster
       CPU:  Unspecified  |   Platform:  MSWindows 7
--------------------------+---------------------------------

Comment (by martinl):

 Replying to [ticket:2745 neteler]:
 > The reportfile in i.cluster (see manual page for example) is stored with
 UNIX style newlines. At time unix2dos is needed.
 >
 > What is the needed change to change i.cluster to write "new lines" chars
 in a way that the resulting ASCII file is properly formatted also on
 Windows?

 Fixed in trunk (r67276:67277)

 > We have done this elsewhere (v.out.ascii?), but I cannot find it.

 No, now part of gislib (r67275). Also G7:v.out.ascii and related
 subroutines from Vlib fixed (r67278).

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



More information about the grass-dev mailing list