manwhich: Deriving MANPATH from PATH [PSARC/2007/688 FastTrack timeout 12/19/2007]

Mike Gerdts mgerdts at gmail.com
Thu Dec 13 12:16:28 PST 2007


On Dec 13, 2007 1:50 PM, Joseph Kowalski <jek3 at sun.com> wrote:
> Lawrence Lee wrote:
> > Will the transformation rules be hardcoded  in the man.c
> > or will there be a system file which defines the transformation rules.
> > IOW - if sbin or exe is not included in the default transformation rules,
> > could a system administrator extend those rules?
> Interesting idea.  However, I expect that the syntax for the rules may
> be hard to get right.  I guess its up to Mike if he wants to pursue this.

If I did this, I would prefer to make it a simple two column file that
maps path to manpath elements.  For sanity of those that do packaging,
or have other reasons to script modifications, it would likely be
helpful to keep the file private but provide stable options to manage
changes to the configuration.

However, I am not convinced that it is needed or worth the effort.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/



More information about the opensolaris-arc mailing list