mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
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
|