Bug#661828: proj -le sometimes lists b, sometimes rf

jidanni at jidanni.org jidanni at jidanni.org
Thu Mar 1 16:59:26 UTC 2012


Package: proj-bin
Version: 4.7.0-1
Severity: wishlist

How terrible proj -le sometimes lists b=, sometimes rf=.
For those times when one wants a consistent listing, one can use
$ proj -le|perl -pwle 'if(/a=(\S+) +b=(\S+)/){$rf=$1==$2?"Infinity":$1/($1-$2);s/b=\S+/rf=$rf/}'
in fact the authors could consider listing both all the time.
Yes I know there are historical factors involved with the choice of what
to list.
Perhaps make a proj -lE if altering -le is unwise.





More information about the Pkg-grass-devel mailing list