#181: tac command missing in OSX ------------------------+--------------------------------------------------- Reporter: kyngchaos | Owner: [email protected] Type: defect | Status: new Priority: minor | Milestone: 6.3.1 Component: default | Version: 6.3.0 Resolution: | Keywords: v.in.garmin, v.in.mapgen ------------------------+--------------------------------------------------- Comment (by kyngchaos):
Replying to [comment:4 1gray]: > I'd recommend to check for the existence of `tac` instead, like (untested): My patch does this with ''which tac'', a simple technique used used in many GRASS scripts. What I meant was, if tac isn't found, and tail is found, somehow check if tail has the ''-r'' flag. But, this is really just an immediate fix to take care of the OSX case (and any other *nix without tac) where tail -r does exist. As Glynn points out, neither tac nor tail -r are in POSIX/SUS standards. A more portable fix would be nice in the long term. I wonder if some sort of requirement in GRASS 7 development would be a good idea to stick to POSIX/SUS commands? -- Ticket URL: <http://trac.osgeo.org/grass/ticket/181#comment:6> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
