Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Assign 2, Q3 - haversine.awk implementations

1 of 390 articles shown, currently no other people reading this forum.
photo
From: David T.
Date: Mon 18th May 2020, 3:46pm
Actions: 
        Login-to-reply

 

Hi Chris,
I'm having trouble implementing 'haversine.awk' in bash.

 From the forums I've read, this syntax should work? 
echo | awk -v lat1=$1 -v lon1=$2 -v lat2=-31.97156055555560 -v lon2=115.902151666667 -f 
haversine.awk

Where am I going wrong?

Thanks,
David

Related articles

Assign 2, Q3 - haversine.awk implementations (all 3) RSS
├─ THIS   Mon 18th May 2020, 3:46pm, David T.
├─ reply 1   Mon 18th May 2020, 3:53pm, Christopher M.
└─ reply 2   Mon 18th May 2020, 11:38pm, David M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020