This thread What do the numbers in a man page mean? answers the question of the significance of the numbers between parentheses within a man page. My question is related.
I have a local installation of a package called ffmpeg. The build folder has the typical bin, lib, etc. and then the folder:
man/man1/ with the following files:
ffmpeg-bitstream-filters.1 ffmpeg-scaler.1 libavdevice.3
ffmpeg-codecs.1 ffmpeg-utils.1 libavfilter.3
ffmpeg-devices.1 ffmpeg.1 libavformat.3
ffmpeg-filters.1 ffplay.1 libavutil.3
ffmpeg-formats.1 ffprobe.1 libswresample.3
ffmpeg-protocols.1 ffserver.1 libswscale.3
ffmpeg-resampler.1 libavcodec.3
My questions are:
- Why is there a subfolder under
mancalledman1? Why not just inman? And why the suffix1? - Which path should I add to
MANPATH? The one pointing toman? orman/man1? - What do the suffices in the files above mean? Are they the same numbers within parentheses described in the thread I mentioned above?
Q3is not consistent with the file hierarchy I have forffmpeg(I have.2and.3files underman1). Any thoughts why? – Amelio Vazquez-Reina Jul 08 '13 at 15:31man ./ffmpeg.2, presuming there is such a file in ./; the .gz man pages are fine this way too.) Anyway, if the page names are unique (so there is no possible ffmpeg-foobar.1, ffmpeg-foobar.2) then there can be no conflict -- I would guess the only issue might be if someone did aman 2 ffmpeg-foobarwhen ffmpeg-foobar.2 is inman1, depending on how the man system decides and finds a page by section. Try it. – goldilocks Jul 08 '13 at 15:47