Create one-liner.sh
parent
ba7234aef9
commit
e20eb4c7a8
@ -0,0 +1,2 @@
|
|||||||
|
cat input | tr '\n' '+' | sed 's/++/\n/' | bc | sort -n | tail -n 3
|
||||||
|
# sum the top three with a calculator :)
|
Loading…
Reference in New Issue