git://git.jankratochvil.net
/
nethome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Provide also the ./ filenames prefixing.
[nethome.git]
/
bin
/
kernel
/
kernelLogfix
1
#! /bin/bash
2
#
3
# $Id$
4
#
5
# Subst $Log...$ -> %Log...% in all the subdirectories.
6
# Required for proper diffing of CVSed Linux kernel sourcetrees.
7
8
9
find -type f|grep -v /CVS/|xargs perl -i -e '
10
use bytes;
11
while (<>) {
12
s/\$(
13
Log
14
)(?::[^\$]*)?\$
15
/\%$1\%/gx;
16
print;
17
}
18
'