unix_manpage_engine 0.1
Last updated on 11/08/08
UNIX manual page repository
Manual pages are available for the following OS/distributions:
$qry = "SELECT * FROM unixmanpages_dist ORDER BY distid,shortname"; $qrh = mysqli_query($dbh, $qry); print "- ";
while ($qres = mysqli_fetch_assoc($qrh) )
{
$shortname = $qres['shortname'];
$distname = $qres['distname'];
print "
- $distname "; } } elseif ( ($_GET['cmd'] == 'contact') || ($_POST['cmd'] == 'contact') ) { ?>
Contact
If you have any questions or comments, contact me at wigyori at uid0.hu
} else { ?>UNIX manual page repository
This site contains a large database of searchable manual pages for some of the available UNIX operating systems.
Enter a command and specify an OS or distribution for which you would like to read the manual page of the command. The database will show you the exact and near matches.
You can see some of my other projects in the menubar.
if ( $_POST['cmdname'] ) { print "Search results:
\n"; if ( $haveresults ) { print "- ";
// first try to look for exact matches
$qry = "SELECT * FROM unixmanpages_tmpsearch WHERE search_uniqid='$search_uniqid' AND name='$search' ORDER BY shortname";
$qrh = mysqli_query($dbh, $qry);
$qrc = mysqli_num_rows($qrh);
if ( $qrc > 0 )
{
while ( $qres = mysqli_fetch_assoc($qrh) )
{
$cmdtype = str_replace('man', '', $qres['catname']);
//$url = "http://" .$qres['shortname']. "-manpages.uid0.hu/" .$qres['shortname']. "-manpages/" .$qres['pageid']. "/" .$qres['name']. ".html";
$url = "http://" .$qres['shortname']. ".unixmanpages.net/".$qres['catname']."/" .$qres['name']. ".html";
print "
- " .$qres['name']. "($cmdtype) - " .$qres['shortname']. " \n"; } } $qry = "SELECT * FROM unixmanpages_tmpsearch WHERE search_uniqid='$search_uniqid' AND name !='$search' ORDER BY name"; $qrh = mysqli_query($dbh, $qry); $qrc = mysqli_num_rows($qrh); if ( $qrc > 0 ) { while ( $qres = mysqli_fetch_assoc($qrh) ) { $cmdtype = str_replace('man', '', $qres['catname']); //$url = "http://" .$qres['shortname']. "-manpages.uid0.hu/" .$qres['shortname']. "-manpages/" .$qres['pageid']. "/" .$qres['name']. ".html"; $url = "http://" .$qres['shortname']. ".unixmanpages.net/".$qres['catname']. '/' .$qres['name']. ".html"; print "
- " .$qres['name']. "($cmdtype) - " .$qres['shortname']. " \n"; } } /* OLD STUFF for ($i=0; $i
- " .$res[$i]['name']. " - " .$res[$i]['shortname']. " (" .$res[$i]['catname']. ") \n"; } // } */ print "
© 2008 UNIX manpages
License: WYSIWTF