summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/freebsd-post-merge.sh
blob: eefe3af639c4a2f162d3b2e515f550fad6022470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $FreeBSD$
#

xargs perl -n -i -e '
	print;
	s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print;
	m/^\#include "includes.h"/ && print "__RCSID(\"\$FreeBSD\$\");\n";
' <keywords

xargs perl -p -i -e '
	s/^\.Dd \$Mdocdate: (\w+) (\d+) (\d+) \$$/.Dd $1 $2, $3/
' <mdocdates
OpenPOWER on IntegriCloud