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

GRASS GIS trac at osgeo.org
Wed Jun 4 10:17:17 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                    
Resolution:             |    Keywords:  v.in.garmin, v.in.mapgen 
------------------------+---------------------------------------------------
Comment (by kyngchaos):

 Replying to [comment:2 hamish]:
 > Can the Mac build provide a copy of tac somehow? (or just automatically
 apply the 'tail -r' patches with your build..)

 I ''could'' provide a copy or patch it in my binary, but that's just a
 packager's solution, and those who build from source would still have to
 deal with it somehow.  tac is annoying in that it's part of a GNU bundle,
 core-utilities, I couldn't find only tac source.  And my first
 quick-n-dirty attempt to compile it failed.

 How about testing for the -r flag, as I mentioned?  A non-existent option
 on OSX returns `tail: illegal option xxx` plus a usage string with the
 available flags.  What about other versions of tail?  Or can you thing of
 a good way to test for the flag?  If anything, I could test for
 uname=Darwin (tho that's awfully specific).

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


More information about the grass-dev mailing list