Lines Matching full:coord
50 coord=
54 usage="Usage: tzselect [--version] [--help] [-c COORD] [-n LIMIT]
59 -c COORD
62 are closest to the location with geographical coordinates COORD.
63 COORD should use ISO 6709 notation, for example, '-c +4852+00220'
142 coord=$OPTARG;;
260 coord = substr(ARGV[1], 2)
282 function convert_coord(coord, deg, minute, ilen, sign, sec) {
283 if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9][0-9][0-9]([^0-9]|$)/) {
284 degminsec = coord
290 } else if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9]([^0-9]|$)/) {
291 degmin = coord
296 deg = coord
299 function convert_latitude(coord) {
300 match(coord, /..*[-+]/)
301 return convert_coord(substr(coord, 1, RLENGTH - 1))
303 function convert_longitude(coord) {
304 match(coord, /..*[-+]/)
305 return convert_coord(substr(coord, RLENGTH))
332 coord_lat = convert_latitude(coord)
333 coord_long = convert_longitude(coord)
385 case $coord in
387 continent=coord;;
393 'Please select a continent, ocean, "coord", "TZ", "time", or "now".'
429 "coord - I want to use geographical coordinates." \
490 coord)
491 case $coord in
498 read coord
503 ="$coord" ="$TZ_COUNTRY_TABLE" ="$TZ_ZONE_TABLE" |
521 say >&2 "listed roughly in increasing order of distance from $coord."
765 case $time%$country_result%$region%$coord in
772 %%?*%?*) say >&2 " coord $coord$newline $region";;
773 %%%?*) say >&2 " coord $coord";;
785 do coord=