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:
We use this to quickly highlight differences and provide a quick way to cut and paste the command to view the files using the marvellous vimdiff
There are 2 alternatives - vote for the best!
LC_ALL=C is here to always grep on "differ" whatever your language env.
xargs -n 2 to run gvim -d with 2 arguments
gvim --nofork to use only one instance of gvim
If you can do better, submit your command here.
You must be signed in to comment.