3 # Shell code to remove FreeBSD tags before merging
4 grep -rl '\$Fre[e]BSD:' . | grep -v FREEBSD >tags
5 cat tags | while read f ; do
6 sed -i.orig -e '/\$Fre[e]BSD:/d' $f
9 # Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs
11 xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
13 # Diff against vendor branch
14 svn diff --no-diff-deleted --old=$FSVN/vendor-crypto/openssh/dist/ --new=.