summary refs log tree commit diff
path: root/home/.local/bin/deg
blob: 216029ed8ebe701a22a88e88794e726c23c1e987 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
set -eu
cat <<EOF
${1}°F = $(dc -e "1k $(echo "$1" | sed 's/^-/_/') 32-1.8/p")°C
${1}°C = $(dc -e "1k $(echo "$1" | sed 's/^-/_/') 1.8*32+p")°F
EOF
hlight'> 2018-05-13Add modemJune McEnroe 2018-05-13Tabify binJune McEnroe 2018-05-13Tabify shell scriptsJune McEnroe 2018-05-13I've really done it nowJune McEnroe Time to see what it's like to be a hard-tab person. 2018-05-11Link with -lmJune McEnroe Come on, FreeBSD. 2018-04-26Add UtopioidJune McEnroe