You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove note about GNU patch requiring a space between -D and argument (this might've been the case for ancient versions but not anymore)
* This version of patch outputs a trailing comment for the ifndef blocks; this matches the OpenBSD version
%ifconfig > A
%sed 's/eth0/ent0/' A > B
%perl diff -u A B > AB.diff
%/usr/bin/patch --version
GNU patch 2.7.6
%/usr/bin/patch -Dostuff -o C A AB.diff
patching file C (read from A)
%perl patch -Dostuff -o D A AB.diff
Hmm... Looks like a unified diff to me...
Patching file A using Plan B...
Hunk briandfoy#1 succeeded at 1.
done
%perl diff C D
5c5
< #endif
---
> #endif /* ostuff */
0 commit comments