commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
I improved a bit on the original by only using sed and extracting the quote with a matching group.
Use -nE for sed on Mac OSX
Use -nr for sed on Linux.
Warning! The quotes from Borat are definitely offensive.