Added diff of two processes/commands

Wraps output of two commands into separate file handles that diff can compare.
This commit is contained in:
adelviscio 2013-09-01 17:48:33 -04:00
parent 14821d424c
commit 6d0e99b956

View file

@ -18,3 +18,6 @@ diff -q version1 version2
# To report whether the files are identical: # To report whether the files are identical:
diff -s version1 version2 diff -s version1 version2
# To diff the output of two commands or scripts:
diff <(command1) <(command2)