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
39d8fe42&follow=1'>Move comments below strings in hiJune McEnroe Also add the #if 0 "comment" syntax. 2019-02-07Add subexpression highlighting to hiJune McEnroe 2019-02-06Add pattend to hiJune McEnroe 2019-02-06Add hi syntax highlighterJune McEnroe 2019-02-05Update neovim to 0.3.4 on DarwinJune McEnroe Also rewrite install.sh once again. 2019-02-05Fix DEL in aesJune McEnroe 2019-02-05Add aesJune McEnroe Okay this should really be aes(6) but I don't feel like adding back MAN6 in the Makefile. 2019-02-01Set nvim Directory back to blueJune McEnroe