Here we see the "d" items are mixed with the "m" items, but the "m" isn't shown: set 42.1527288 -87.8284360 42.1817060 -87.8275970 geod +ellps=GRS80 -I <<EOF $@ EOF 1d14'1.178" -178d45'56.794" 3219.433
But you are right, $ set $(units --terse 1mi) $ echo $1 1609.344 Me throwing away $2 without double checking it is really "m" will come back to bite me one day. Anyway my only goal was to reduce needing a post processing method to edit the result. (And thus needing different methods on differing operating systems.) I was just hoping there was a way to say units --give-me-just-how-many-meters(feet, etc.)-please maybe units --number-only --expecting meters .