diff options
| -rw-r--r-- | DEPENDENCIES | 3 | ||||
| -rw-r--r-- | README | 6 | ||||
| -rwxr-xr-x | metar | 3 | ||||
| -rw-r--r-- | metar.1 | 18 |
4 files changed, 13 insertions, 17 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES index 56d6c8e..854d815 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -7,14 +7,11 @@ RUNTIME DEPENDENCIES: coreutils python3 - BUILD DEPENDENCIES: (none) - INSTALL DEPENDENCIES: make coreutils - @@ -9,9 +9,9 @@ SYNOPSIS metar 'closest' [latitude longitude] [list] DESCRIPTION - metar is a simple utility for find whether stations (hence referred to - as METAR stations,) and get METAR reports. Most METAR stations are - airports. + metar is a simple utility for finding weather stations (hence referred + to as METAR stations,) and getting METAR reports. Most METAR stations + are airports. ACTIONS get @@ -44,7 +44,7 @@ get_location () geof=/etc/geolocation fi if test -z "$geo"; then - printf '%s\n' 'No location has been specificed or configured.' >&2 + printf '%s\n' 'No location has been specified or configured.' >&2 exit 1 fi if ! test $(printf '%s\n' $geo | wc -l) = 2; then @@ -134,4 +134,3 @@ elif test $# = 4 && test "$1" = "closest"; then else usage fi - @@ -1,6 +1,6 @@ .TH METAR 1 METAR .SH "NAME" -metar - Trivial weather report +metar \- Trivial weather report .SH "SYNOPSIS" .B metar get @@ -23,8 +23,8 @@ closest .RI [ list ] .SH "DESCRIPTION" .B metar -is a simple utility for find whether stations (hence referred to -as METAR stations,) and get METAR reports. Most METAR stations are +is a simple utility for finding weather stations (hence referred to +as METAR stations,) and getting METAR reports. Most METAR stations are airports. .SH "ACTIONS" .TP @@ -62,7 +62,7 @@ not as good, list you can look at <http://\:www.aviationweather.gov/\:static/\:adds/\:metars/\:stations.txt>. To speed up the listing process, you can filter the output -by select the +by selecting the .I prefix of the ICAO station identifiers. If you look at the page with the URL above, you will find the prefix for your country. @@ -72,9 +72,9 @@ listed in <https://\:codeberg.org/\:maandree/\:metar/\:raw/\:branch/\:master/\:prefixes>. Note however, this list is not guaranteed to be up to date. -Each station is will be printed on a line, containing the its -name, country, ICAO station identifier, and location. The -ICAO station identifier is in parenthesis. +Each station will be printed on a line, containing its name, +country, ICAO station identifier, and location. The ICAO station +identifier is in parentheses. .TP \fBclosest\fP [\fIlatitude\fP \fIlongitude\fP] [\fIlist\fP] Given a @@ -94,7 +94,7 @@ are omitted, ~/.config/geolocation, or /etc/geolocation, is used. .SH "FILES" .TP -~/config/metar +~/.config/metar Contains the ICAO station identifier for the selected weather station, and nothing else, except an LF at the end. This will never change. Other programs are encouraged to use this file @@ -112,7 +112,7 @@ Used to get your location in case .B metar closest is invoked without .I latitude -annd +and .IR longitude . This file contains your geographical location using the Global Positioning System in decimal format. This will never change. |
