Uname: Linux server.digisquadtech.com 4.18.0-553.100.1.el8_10.x86_64 #1 SMP Mon Feb 2 04:13:33 EST 2026 x86_64
User: 1091 (madhavfluid)
Group: 1090 (madhavfluid)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//lib/modules/4.18.0-553.100.1.el8_10.x86_64///source/scripts      ( Reset | Go to )
File Name: split-man.pl
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0
#
# Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
#
# Produce manpages from kernel-doc.
# See Documentation/doc-guide/kernel-doc.rst for instructions

if ($#ARGV < 0) {
   die "where do I put the results?\n";
}

mkdir $ARGV[0],0777;
$state = 0;
while (<STDIN>) {
    if (/^\.TH \"[^\"]*\" 9 \"([^\"]*)\"/) {
    if ($state == 1) { close OUT }
    $state = 1;
    $fn = "$ARGV[0]/$1.9";
    print STDERR "Creating $fn\n";
    open OUT, ">$fn" or die "can't open $fn: $!\n";
    print OUT $_;
    } elsif ($state != 0) {
    print OUT $_;
    }
}

close OUT;

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL