svn commit: r359067 - head/share/examples/ipfw

Hiroki Sato hrs at FreeBSD.org
Wed Mar 18 08:00:47 UTC 2020


Author: hrs
Date: Wed Mar 18 08:00:46 2020
New Revision: 359067
URL: https://svnweb.freebsd.org/changeset/base/359067

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

Modified:
  head/share/examples/ipfw/change_rules.sh

Modified: head/share/examples/ipfw/change_rules.sh
==============================================================================
--- head/share/examples/ipfw/change_rules.sh	Wed Mar 18 05:28:36 2020	(r359066)
+++ head/share/examples/ipfw/change_rules.sh	Wed Mar 18 08:00:46 2020	(r359067)
@@ -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-head mailing list