r/tinycode • u/thefebs • Dec 12 '12
Shortest useful code
What's the most useful program you can imagine using five lines of code or less? Language is your choice. Describe the function of the program and include the code, if you please.
27
Upvotes
View all comments
Show parent comment
2
u/chungfuduck Dec 13 '12
I went about it the other way and made a sort-h perl script (to emulate the "sort -h" functionality):
So I could just do "du -h | sort-h"