mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added diff of two processes/commands
Wraps output of two commands into separate file handles that diff can compare.
This commit is contained in:
parent
14821d424c
commit
6d0e99b956
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue