Hacker News new | ask | show | jobs
by uudecode 3656 days ago
Negative coding. Eliminate cruft. Drop "features". Go small. Stop modifying the same program to do more. Finish.

Open to interpretation but that's my take. You use the word "elegance" and I think that's the idea. Alas, software usually does not "evolve" toward elegance.

tr -h | wc

1 comments

$ tr -h

tr: illegal option -- h

usage: tr [-Ccsu] string1 string2

       tr [-Ccu] -d string1

       tr [-Ccu] -s string1

       tr [-Ccu] -ds string1 string2
That's GNU, I'm guessing. BSD is a little different.
TR(1) BSD General Commands Manual TR(1)
FreeBSD. Got it. But not OpenBSD, NetBSD, or Solaris. Interesting how even with a relatively simple utility like tr, changes were made.