[GRASS-dev] [GRASS GIS] #81: scripts: "echo -n" not portable
GRASS GIS
trac at osgeo.org
Wed Mar 5 23:23:36 EST 2008
#81: scripts: "echo -n" not portable
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 6.3.0
Component: default | Version: svn-trunk
Keywords: |
---------------------+------------------------------------------------------
Hi,
apparently "echo -n" is not portable, it fails on OSX 10.5
I removed it from scripts/r.in.wms/wms.request, but these remain:
{{{
scripts$ grep -rIl "echo -n" * | grep -v '/.svn/'
d.vect.thematic/d.vect.thematic
i.in.spotvgt/i.in.spotvgt
r.tileset/r.tileset
v.db.renamecol/v.db.renamecol
}}}
v.db.renamecol is a false positive:
{{{
v.db.renamecol/v.db.renamecol: # 'echo -n' (output as string, ie with no
newline) is apparently not portable.
}}}
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/81>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list