#!/bin/sh
# Celsius <-> Fahrenheit converter
# Usage: f <degrees> (in either C or F)
f=`echo "scale=1;9*$1/5+32" | bc`
echo "$1 C = $f F"
c=`echo "scale=1;5*($1-32)/9" | bc`
echo "$1 F = $c C"
