diff -urpN --exclude-from=/home/davej/.exclude bk-linus/Documentation/kernel-doc-nano-HOWTO.txt linux-2.5/Documentation/kernel-doc-nano-HOWTO.txt --- bk-linus/Documentation/kernel-doc-nano-HOWTO.txt 2002-11-21 02:08:23.000000000 +0000 +++ linux-2.5/Documentation/kernel-doc-nano-HOWTO.txt 2002-11-21 17:54:12.000000000 +0000 @@ -69,10 +69,10 @@ if ($#ARGV < 0) { mkdir $ARGV[0],0777; $state = 0; while () { - if (/^\.TH \"[^\"]*\" 4 \"([^\"]*)\"/) { + if (/^\.TH \"[^\"]*\" (\d) \"([^\"]*)\"/) { if ($state == 1) { close OUT } $state = 1; - $fn = "$ARGV[0]/$1.4"; + $fn = "$ARGV[0]/$2.$1"; print STDERR "Creating $fn\n"; open OUT, ">$fn" or die "can't open $fn: $!\n"; print OUT $_;