Search Results

Search: Posts Made By: lily-anne
8,731
Posted By lily-anne
Geographical distance between long and lat in bash
Does anyone know of any script or packages that allow the calculation of the geographical distance between two points of lat/long from within a bash shell?

I have been searching the web for the...
3,839
Posted By lily-anne
Duh, why didn't I think of that! I was thinking...
Duh, why didn't I think of that! I was thinking of complicated answers using if and for.

Massive thank you! :)
3,839
Posted By lily-anne
Bash for loop with arrays second variable?
I am fairly new to bash and am not sure how to resolve this:

I have a series of geographical long/lat points eg. 50/-30 listed on separate lines in a file called junk2. I have input these into an...
9,917
Posted By lily-anne
Bash for loop with awk and variables
I'm relatively new to bash scripting and am trying to use awk inside a bash for loop but am having a problem with the variables.


for i in $(seq 30 5 60)
do

# Define variables up and down in...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy