File:  [Research Unix] / researchv10no / cmd / map / lox / dolox
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

rot=0
case $2 in
-o)	rot=$4
	case $3 in
	90)	:	;;
	*)	echo cannot handle displaced pole
	esac	;;
"")	;;
*)	echo if option -o is present it should be first
esac
lox $1 </dev/null | sed '/^85/,$d' |awk '{print $1, -$4}' >$$a
awk '{print -$1, -$2}' $$a >$$b
awk '{print $1, $2+179.5+'$rot'}' $$a >edge${1}a
awk '{print $1, $2-179.5+'$rot'}' $$a >edge${1}b
awk '{print $1, $2+179.5+'$rot'}' $$b >edge${1}c
awk '{print $1, $2-179.5+'$rot'}' $$b >edge${1}d
MAPPROG=./map /usr/bin/map loxodromic $*  -g -b -t edge$1* 


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.