Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: man(1): mimic OSX behaviour



On Tue, Oct 06, 2009 at 11:16:31AM +0200, Christoph Egger wrote:
> 
> Hi!
> 
> On OS X it is possible to specify the manpage filename
> with a full or relative path like this:
> 
> man ./foo.5
> 
> or
> 
> man /cd/foo/bar.1.gz
> 
> This is really helpful to view the manpage quickly while editing it.

You mean like 'nroff -mandoc filename'?
Though you'd need 'zcat filename | nroff -mandoc' for the second case.
 Thomas


Home | Main Index | Thread Index | Old Index