Put your manual files in the folder mymanfolder.
Find and read them using myman.
The Python script myman reads the file list in mymanfolder,
and allows the user to utilize TAB completion to select the manual (file) needed.
The script tries to open the file based on the OS default application for the
specified file and filetype.
- Make sure Python (v. 3) is installed
- Place (and/or rename) the folder
mymanfolderso some location - Edit the script
mymanto include the path to yourmymanfolder - Place the script
mymanin your PATH. - Start adding manuals to the
mymanfolder
$ myman
Enter manual name (use TAB completion): <TAB> <TAB>
RegExpr latex-card perl-regexp-card python-card svn-card
html-card perl-card python r-card vi-card
Enter manual name (use TAB completion):p <TAB> <TAB>
perl-card perl-regexp-card python python-card
Enter manual name (use TAB completion): pe <TAB>
Enter manual name (use TAB completion): perl- <TAB> <TAB>
perl-card perl-regexp-card
Enter manual name (use TAB completion): perl-c <TAB>
The script is a based on a version written in Perl back in 2004. Thanks to Jeet Sukumaran for python inspiration.
Untested (Mon 12 sep 2022) on macos and MS Windows.
MIT