[GRASS-dev] [GRASS GIS] #181: tac command missing in OSX

GRASS GIS trac at osgeo.org
Tue Jun 3 23:53:23 EDT 2008


#181: tac command missing in OSX
-----------------------+----------------------------------------------------
 Reporter:  kyngchaos  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect     |      Status:  new                      
 Priority:  minor      |   Milestone:  6.3.1                    
Component:  default    |     Version:  6.3.0                    
 Keywords:             |  
-----------------------+----------------------------------------------------
 v.in.garmin and v.in.mapgen use the 'tac' utility command.  This is not
 included in Mac OS X, and possibly some other *nix flavors.

 It looks like 'tail -r' achieves the same purpose.  Included are patches
 for v.in.garmin and v.in.mapgen.  It tested OK with v.in.mapgen on a
 mapgen file from NOAA.  I have no matlab file to test it on, or garmin
 file.

 Feedback and testing would be helpful.

 Also, the BSD manpage I have for tail says the -r flag is an extension to
 the POSIX spec for tail, so it's possible it's not completely portable.
 Maybe a further test for the flag is needed.

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


More information about the grass-dev mailing list