[SOLVED] Two manuals of the same program depending on who issues 'man'.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Two manuals of the same program depending on who issues 'man'.
Kernel 2.6.21.5, Slackware 12.0
Hi:
When I am at a root console, 'man sox' shows me a 1240 lines manual. But in a regular user console, 'man sox' prints a 3472 lines manual. One is dated 2001 and the other, 2009. I have /var/log/packages/sox/14.3.1-i486-1 and there is the path of the manual (man page). This manual is the long one.
Now, Slack 12 came with sox 12.18.1. So, I must have installed 14.3.1 after having removepkg'd 12.18.1. Suppose the old manual was left behind on the hard disk. But how can man access one file in the root console and another one on the other console?
From any of the two consoles the program run when invoking is version 14.3.1.
Last edited by stf92; 04-21-2012 at 03:12 PM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Unfortunately, I had already removed /var/man/cat/sox.1.bz2, the old man page. So, now, the two users get the same page. The file in /var/man/cat/ has therefore been created by man.
*/man/cat/* contains pre-formatted pages which are cached there by man when you ask for each page the first time. man will not cretae them if the 'cat' directories are not present. The file wil be of a different length because of the formatting process. I simply delete the cat dirs from the system to avoid 'phantom' files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.