mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +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
@ -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 New Issue
Block a user