Hacker News new | ask | show | jobs
by GFK_of_xmaspast 3660 days ago
$ tr -h

tr: illegal option -- h

usage: tr [-Ccsu] string1 string2

       tr [-Ccu] -d string1

       tr [-Ccu] -s string1

       tr [-Ccu] -ds string1 string2
1 comments

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.