summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mll
blob: 63bb0083328bd63c31361c644a2165f211d2525c (plain)
1
2
3
4
5
6
#!/bin/sh
# Map Latitude Longitude

# https://help.openstreetmap.org/questions/9669/jumping-to-a-specific-set-of-coordinates-on-the-map
# another way is to manually search xx.xxxxx,xx.xxxxx
o "$BROWSER" "https://www.openstreetmap.org/?mlat=$1&mlon=$2&zoom=12"
an class="hl opt">) tz_from="$(tzselect)";; F) tz_from="$OPTARG";; # one extra ',' at the end will not let `for tz in ...` loop one extra time? t) for i in $(seq "$OPTARG"); do tz_to="$(tzselect),$tz_to" done;; T) tz_to="$OPTARG,$tz_to";; \?) exit 1;; esac done shift $((OPTIND-1))