Hacker News new | ask | show | jobs
by emmelaich 1345 days ago
Yes, it's quite easy in sh:

[update: same program also works in python and ruby]