2002-10-29 04:56:16 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
# Shell code to remove FreeBSD tags before merging
|
2005-09-03 02:42:11 -04:00
|
|
|
grep -rl '\$Fre[e]BSD:' . | grep -v FREEBSD >tags
|
2003-09-19 07:29:51 -04:00
|
|
|
cat tags | while read f ; do
|
2005-06-04 19:18:33 -04:00
|
|
|
sed -i.orig -e '/\$Fre[e]BSD:/d' $f
|
2002-10-29 04:56:16 -05:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs
|
2003-04-23 13:21:55 -04:00
|
|
|
cat tags |
|
2005-09-03 02:42:11 -04:00
|
|
|
xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
|
2002-10-29 04:56:16 -05:00
|
|
|
|
2008-07-31 21:05:27 -04:00
|
|
|
# Diff against vendor branch
|
|
|
|
|
svn diff --no-diff-deleted --old=$FSVN/vendor-crypto/openssh/dist/ --new=.
|