summary refs log tree commit diff homepage
path: root/2018/day01-2.sh
blob: 66521fb6d51f5731b0de5d95dc4ce250e239c3ab (plain) (blame)
1
2
3
4
5
6
7
8
seq -f "$(cat)" ${1:-150} \
	| sed 's/^/last/' \
	| bc \
	| cat -n \
	| sort -s -n -k 2 \
	| uniq -d -f 1 \
	| sort -b -n \
	| head -n 1
='logmsg'> 2019-02-07Move 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