summary refs log tree commit diff homepage
path: root/2019/day01-2.sh
blob: 806d56f904b8c5445de2e19abd45da7268d508b8 (plain) (blame)
1
sed 's,.*,a=&/3-2;b=a;while(b/3-2>0){b=b/3-2;a+=b};.+a,'|bc