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:
It just colorizes the line based on if it has 0, 1 or 2 tabs at the beginning of the line. Won't work so well if lines already begin with tabs (too bad comm doesn't have an option to substitute \t for something else).
Don't forget comm needs input files to be sorted. You can use a shortcut like this with bash: comm
There are 3 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.