Added diff of two processes/commands
Wraps output of two commands into separate file handles that diff can compare.
This commit is contained in:
1 parent
14821d424c
commit
6d0e99b956
1 file changed
+3
@@ -18,3 +18,6 @@ diff -q version1 version2
|
||||
|
||||
# To report whether the files are identical:
|
||||
diff -s version1 version2
|
||||
|
||||
# To diff the output of two commands or scripts:
|
||||
diff <(command1) <(command2)
|
||||
Reference in new issue
Block a user