[GRASS-dev] Re: [GRASS GIS] #606: WinGRASS GIS.m: broken newlines in output window

GRASS GIS trac at osgeo.org
Mon May 18 06:03:45 EDT 2009


#606: WinGRASS GIS.m: broken newlines in output window
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  major         |   Milestone:  6.4.0                    
 Component:  Tcl           |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass gis.m           
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by hamish):

 Replying to [comment:3 pkelly]:
 > I've seen this issue before and suspected it was an issue with
 > linefeeds and carriage return characters in text files. Both
 > g.proj and g.version read text files and print to the screen.
 > If the files have been created on Windows (rather than imported
 > from a Unix system) they will have CRLF endings, which AFAIK
 > still aren't handled properly everywhere.
 > That's just a guess though, but perhaps a line of approach that
 > might be worth looking into?

 A nice guess, but no cigar.

 For one thing, the problem is at the start of the file, not at a EOL or
 EOF.

 For another [Run]ing 'ls' ends up with "RMANENT" in the output window.


 Hamish

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


More information about the grass-dev mailing list