diff options
author | KatolaZ <katolaz@freaknet.org> | 2022-10-06 15:56:38 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2022-10-06 15:56:38 +0100 |
commit | 3d7b4bbb3362533f1506b0948364b35eeb1b305b (patch) | |
tree | feadb60e9c2c62cdae669ff2468c3a8e07f08a56 | |
parent | ac098d02ca2558bba179815ef79b8b51a2d5ef9a (diff) |
add explanation and copyright notice in the source file
-rw-r--r-- | gridcal.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -3,9 +3,23 @@ * Get two grid locators and compute the great-circle distance * between the centers of the two corresponding squares * +* (c) Enzo "KatolaZ" Nicosia -- M0KTZ <m0ktz@katolaz.net> * -* Usage: gridcal <grid1> [<grid2> [<pwr>]] +* Usage: gridcal <loc1> [<loc2> [<pwr>]] * +* If only one locator is provided, the program prints on output the +* latitude and longitude of the centre of the corresponding square, +* both in degrees and radians. +* +* If two locators are given, gridcal computes and prints the great-circle +* distance between the two locators, in km and miles. If a third argument +* is provided, it is interpreted as a power in Watts, and gridcal will +* print the distance in km and miles between the two locators, then the +* power, and then the km/watt and the miles/watt +* +* This is free software. You can use, modify, distribute it under the +* terms of the ISC License. See LICENSE for details +* */ #include <stdio.h> |