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
rc/commit/bin/when.y?id=e52265294d05dd5d8de07b78889c9b89f27601ef&follow=1'>Swap dates so the difference is always positiveJune McEnroe 2022-04-04Update "Care"June McEnroe 2022-04-03Publish "Care"June McEnroe 2022-03-31Publish "Compassion"June McEnroe 2022-03-24Skip matches with ident chars on either sideJune McEnroe 2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe 2022-03-16Remove -j4 from ./PlanJune McEnroe 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe