cf783db152
$FreeBSD$ tags and man page dates. Add a post-merge script which reapplies these changes. Run both scripts to normalize the existing code base. As a result, many files which should have had $FreeBSD$ tags but didn't now have them. Partly rewrite the upgrade instructions and remove the now outdated list of tricks.
15 lines
278 B
Bash
Executable File
15 lines
278 B
Bash
Executable File
#!/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
|