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:
No need for grep, let awk do the match. This will not behave properly if the filenames contains whitespace, which is awk's default field separator.