Logo supple-pixels.net @ bash scripts

Welcome to supple-pixels.net

degtodec.sh

degtodec.sh is a script which does conversion between decimal numbers and degree values (degrees, minutes, seconds, or hours, minutes, seconds). Possible input methods are: interactively, by parameter, or directly via stdin.

What for?

Well, that's quite simple: for example for astrological calculations (rhythms, ...), geographical conversions (longitudes and latitudes) etc.

Usage

Using degtodec.sh is quite straightforward. The input values are recognized by the separators: Points for decimal numbers, colons for degree values. I find screenshots can tell you more about it than many words ;-)

Dependencies

  • bc
  • egrep

Download

degtodec.sh is licensed under the GNU General Public License. It is placed to your free disposal according to the terms of the GPL. More detailed information you can find on http://www.gnu.org/copyleft/gpl.html, or in the file COPYING enclosed with the script.

» Download degtodec_070427.tar.gz

MD5 Sum: 1fc5978415fa0c4271ce7ac85e75ca42

Incidentally, the German version of this script you can find here.

Screenshots

 

If you'd like to give me feedback or make suggestions, just drop me an e-mail.

Conny

freshmeat.net
linuxlinks.com