| « HP the greenest company evar!!!oneone | Slashdot (useful) stupid unix tricks #3 - pushd popd » |
Link: http://ask.slashdot.org/comments.pl?sid=1019609&cid=25651551
This one I really like and use from time to time. This allows you to get the differences between the output of two commands.
$ diff -u <(echo foo) <(echo bar)
--- /dev/fd/63 2008-11-05 22:23:09.802184626 +0000
+++ /dev/fd/62 2008-11-05 22:23:09.802184626 +0000
@@ -1 +1 @@ -foo +bar
enjoy!