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

GRASS GIS trac at osgeo.org
Thu Aug 26 01:36:10 EDT 2010


#181: tac command missing in OSX
--------------------------------------+-------------------------------------
 Reporter:  kyngchaos                 |       Owner:  grass-dev@…              
     Type:  defect                    |      Status:  new                      
 Priority:  minor                     |   Milestone:  6.4.0                    
Component:  default                   |     Version:  6.3.0                    
 Keywords:  v.in.garmin, v.in.mapgen  |    Platform:  MacOSX                   
      Cpu:  Unspecified               |  
--------------------------------------+-------------------------------------

Comment(by hamish):

 I'd suggest adding a g.tac script using the above awk method in $(ETC),
 along the same lines as $(ETC)/echo, `grocat`, and `run`; but looking at
 the purpose of $(ETC)/grocat (grass65/lib/gtcltk/grocat.c), perhaps a -r
 flag could simply be added there for this?

 {{{
  * MODULE:       grocat
  * AUTHOR(S):    Paul Kelly
  * PURPOSE:      Copies stdin to stdout in line-buffered mode until end
  *               of file is received.
 }}}

 (see also `lib/init/echo.c`, which "replaces the standard UNIX echo which
 varies from machine to machine")

 I assume for grass 7 this is a non-issue, as v.in.mapgen (eg) methods have
 already been rewritten to do all this in python.


 Hamish

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



More information about the grass-dev mailing list