50356f4843
cleanup. A round-trip (./freebsd-pre-merge.sh ; ./freebsd-post-merge.sh) now results in an unchanged working copy.
15 lines
224 B
Bash
Executable File
15 lines
224 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
xargs perl -n -i -e '
|
|
print;
|
|
s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print;
|
|
' <keywords
|
|
|
|
xargs perl -n -i -e '
|
|
print;
|
|
m/^\#include "includes.h"/ && print "__RCSID(\"\$FreeBSD\$\");\n";
|
|
' <rcsid
|