mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
changed find . -name '*' to find . -type f
This commit is contained in:
parent
f48c5293f6
commit
1b7072f477
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188
@ -28,7 +28,7 @@ do
|
||||
do
|
||||
if [ -d $subdir ]
|
||||
then
|
||||
for f in `find $subdir -name '*' -print`
|
||||
for f in `find $subdir -type f -print`
|
||||
do
|
||||
sed -n '/^\.TH.*$/p
|
||||
/^\.Dt.*$/p
|
||||
@ -41,7 +41,9 @@ do
|
||||
awk 'BEGIN {insh = 0; inSh = 0; Nd = 0} {
|
||||
if ($1 == ".TH" || $1 == ".Dt")
|
||||
sect = $3
|
||||
else if (($1 == ".br" && insh == 1) || ($1 == ".SH" && insh == 1) || ($1 == ".Sh" && inSh == 1)) {
|
||||
else if (($1 == ".br" && insh == 1)\
|
||||
|| ($1 == ".SH" && insh == 1)\
|
||||
|| ($1 == ".Sh" && inSh == 1)) {
|
||||
if (i > 0 && nc > 0) {
|
||||
for (k= 1; k <= nc; k++) {
|
||||
namesect = sprintf("%s (%s)", name[k], sect)
|
||||
|
Loading…
Reference in New Issue
Block a user