patch-2.4.19 linux-2.4.19/Documentation/kernel-doc-nano-HOWTO.txt
Next file: linux-2.4.19/Documentation/kernel-docs.txt
Previous file: linux-2.4.19/Documentation/isdn/README.HiSax
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Aug 2 17:39:42 2002
- Orig file:
linux-2.4.18/Documentation/kernel-doc-nano-HOWTO.txt
- Orig date:
Fri Sep 7 18:15:17 2001
diff -urN linux-2.4.18/Documentation/kernel-doc-nano-HOWTO.txt linux-2.4.19/Documentation/kernel-doc-nano-HOWTO.txt
@@ -73,10 +73,10 @@
mkdir $ARGV[0],0777;
$state = 0;
while (<STDIN>) {
- 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 $_;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)