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
id=ae5823a4cda93b6def9ae017ba3d93daa2eceeb9&follow=1'>Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe