#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 glynn):
Replying to [comment:6 kyngchaos]: > > 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. FWIW, "which" isn't mandated by POSIX, while "type" is. Also, "which" doesn't work with built-ins or aliases (not that tac or tail are likely to be either). -- Ticket URL: <http://trac.osgeo.org/grass/ticket/181#comment:7> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
