pfctl: Match prototype of pfctl_load_hostid.
[freebsd-src.git] / crypto / openssh / freebsd-pre-merge.sh
blob473474c2c4dab98a88d76698c5344747ca0a780b
1 #!/bin/sh
3 # $FreeBSD$
6 :>keywords
7 :>rcsid
8 svn list -R | grep -v '/$' | \
9 while read f ; do
10 svn proplist -v $f | grep -q 'FreeBSD=%H' || continue
11 egrep -l '^(#|\.\\"|/\*)[[:space:]]+\$FreeBSD[:\$]' $f >>keywords
12 egrep -l '__RCSID\("\$FreeBSD[:\$]' $f >>rcsid
13 done
14 sort -u keywords rcsid | xargs perl -n -i -e '
15 $strip = $ARGV if /\$(Id|OpenBSD):.*\$/;
16 print unless (($strip eq $ARGV || /__RCSID/) && /\$FreeBSD[:\$]/);