#81: scripts: "echo -n" not portable
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: hamish
Type: defect | Status: assigned
Priority: blocker | Milestone: 6.3.0
Component: default | Version: svn-trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by kyngchaos):
If using echo without -n doesn't work for some reason, I found
that/bin/echo on OSX 10.5 DOES work, it's the shell version of echo on
10.5 that doesn't have -n.
The echo man page suggests using printf to suppress the newline char, for
portability.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/81#comment:2>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev