#1164: newlines in sed scripts not portable for wingrass
---------------------------+------------------------------------------------
 Reporter:  hamish         |       Owner:  grass-...@…              
     Type:  defect         |      Status:  new                      
 Priority:  minor          |   Milestone:  6.4.1                    
Component:  Default        |     Version:  svn-develbranch6         
 Keywords:  wingrass, sed  |    Platform:  MSWindows XP             
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------
 Hi,

 this is not portable for wingrass:
 {{{
 echo "abc" | sed -e 's|b|\n|'
 }}}

 on linux you get the newline:
 {{{
 a
 c
 }}}

 but in WinGrass you just get a quoted "n":
 {{{
 anc
 }}}

 damage from this is only cosmetic AFAICT (`r.in.wms -l` without xml2), but
 there may be other places where it matters more.


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1164>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to