mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Use 'svn list -R' instead of find, and recognize comments in shell scripts
and {ssh,sshd}_config.
This commit is contained in:
parent
c1ea5e1a86
commit
5ecdd3c4d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294324
|
@ -5,10 +5,10 @@
|
|||
|
||||
:>keywords
|
||||
:>rcsid
|
||||
find . -type f -name '*.[1-9ch]' | cut -c 3- | \
|
||||
svn list -R | grep -v '/$' | \
|
||||
while read f ; do
|
||||
svn proplist -v $f | grep -q 'FreeBSD=%H' || continue
|
||||
egrep -l '(\.\\"|/\*) \$FreeBSD[:\$]' $f >>keywords
|
||||
egrep -l '^(#|\.\\"|/\*)[[:space:]]+\$FreeBSD[:\$]' $f >>keywords
|
||||
egrep -l '__RCSID\("\$FreeBSD[:\$]' $f >>rcsid
|
||||
done
|
||||
sort -u keywords rcsid | xargs perl -n -i -e '
|
||||
|
|
Loading…
Reference in a new issue