Hacker News new | ask | show | jobs
by 1vuio0pswjnm7 925 days ago
"I challenge myself to do it with bash one liners."

Is bash required.

For example, this also works in dash, NetBSD sh, pdksh, tcsh, etc.