Ticket #181 (closed defect: fixed)
tac command missing in OSX
|Reported by:||kyngchaos||Owned by:||hamish|
|Keywords:||v.in.garmin, v.in.mapgen, v.in.lines||Cc:||grass-dev@…|
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.