Home | History | Annotate | Download | only in time

Lines Matching refs: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;;
258 coord = substr(ARGV[1], 2)
280 function convert_coord(coord, deg, minute, ilen, sign, sec) {
281 if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9][0-9][0-9]([^0-9]|$)/) {
282 degminsec = coord
288 } else if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9]([^0-9]|$)/) {
289 degmin = coord
294 deg = coord
297 function convert_latitude(coord) {
298 match(coord, /..*[-+]/)
299 return convert_coord(substr(coord, 1, RLENGTH - 1))
301 function convert_longitude(coord) {
302 match(coord, /..*[-+]/)
303 return convert_coord(substr(coord, RLENGTH))
330 coord_lat = convert_latitude(coord)
331 coord_long = convert_longitude(coord)
383 case $coord in
385 continent=coord;;
391 'Please select a continent, ocean, "coord", "TZ", "time", or "now".'
427 "coord - I want to use geographical coordinates." \
488 coord)
489 case $coord in
496 read coord
501 ="$coord" ="$TZ_COUNTRY_TABLE" ="$TZ_ZONE_TABLE" |
520 "of distance from $coord".
764 case $time%$country_result%$region%$coord in
771 %%?*%?*) say >&2 " coord $coord$newline $region";;
772 %%%?*) say >&2 " coord $coord";;
784 do coord=