svn commit: r366299 - stable/12/share/examples/ipfw

Ed Maste emaste at FreeBSD.org
Wed Sep 30 20:57:02 UTC 2020


Author: emaste
Date: Wed Sep 30 20:57:01 2020
New Revision: 366299
URL: https://svnweb.freebsd.org/changeset/base/366299

Log:
  MFC r359067: -F is GNU diff specific, not implemented in BSD diff.
  
  PR:		239519
  Reported by:	kouya at ryuhoku.jp [in -CURRENT]
  MFC after:	3 days

Modified:
  stable/12/share/examples/ipfw/change_rules.sh
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/examples/ipfw/change_rules.sh
==============================================================================
--- stable/12/share/examples/ipfw/change_rules.sh	Wed Sep 30 19:23:25 2020	(r366298)
+++ stable/12/share/examples/ipfw/change_rules.sh	Wed Sep 30 20:57:01 2020	(r366299)
@@ -149,7 +149,7 @@ cat <<!
 The new rules are now installed. The previous rules have been preserved in
 the file ${edit_file}.$DATE
 !
-diff -F "^# .*[A-Za-z]" -u ${edit_file}.$DATE ${edit_file} \
+diff -u ${edit_file}.$DATE ${edit_file} \
     | mail -s "`hostname` Firewall rule change" root
 rm ${TMPFILE}
 exit 0


More information about the svn-src-stable-12 mailing list