On Wed, Jun 13, 2012 at 12:56:28PM +0200, Tanguy Ortolo wrote:
> This is just an idea of a feature that may be useful. Manpages are often
> refered to with this syntax: subject(section). For instance, tree(1)
> has a “SEE ALSO” section that refers to ls(1).
> 
> Now, the command man used the following syntax to load a manpage from a
> specific section:
>     % man section subject
> For instance:
>     % man 1 ls
> 
> It may be useful to also accept the following syntax:
>     % man subject(section)
> For instance:
>     % man ls(1)

This is always going to be unwieldy in a Bourne-style shell, though:

  $ man ls(1)
  -bash: syntax error near unexpected token `('

Is it still worth it if you have to go to the effort of quoting it
anyway?

-- 
Colin Watson                                       [[email protected]]



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to