Comment on Useful Unix commands for data scienceparentComments−mjn13yIf you consider the use of dc/bc as in the other solutions to be cheating, you can use unary-encoded integers... alias sum='xargs -I{} sh -c "head -c {} < /dev/zero" | wc -c'
Comments
If you consider the use of dc/bc as in the other solutions to be cheating, you can use unary-encoded integers...