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