Temperature units converter between Fahrenheit and Celsius.
Building is done using GNU Make.
$ make
$ make install
$ make clean
Or
$ make install clean
For uninstalling:
$ make uninstall
By default the binary will be copied into $HOME/.local/bin
directory with the name f2c
. You can change it by altering the following make variables:
-
PREFIX
default:
$HOME/.local
Install location.
-
CC
default:
gcc
Compiler command.
-
CC_FLAGS
default:
-Wall -Werror
Compiler flags.
$ f2c [-c|-f] DEGREE [DEGREE...]
$ f2c 72
72.0°F 22.2°C
$ f2c -c 18 0 -f 32 -c -4 100
18.0°C 64.4°F
0.0°C 32.0°F
32.0°F 0.0°C
-4.0°C 24.8°F
100.0°C 212.0°F