[texdoc] [bug #363] texdoc -l --help fails

Denis Bitouzé dbitouze at wanadoo.fr
Fri Sep 22 14:25:30 CEST 2017

Le 21/09/17 à 21h14, Karl Berry a écrit :

> i do alias texdoc="texdoc -l"

Nice but the default behavior of this option is:

  [...E]nter the number of the file to view, anything else to skip:

and that's a pain if you finally want to view just the (normally)
default file, i.e. the file number 1. Hence it would be useful, in the
case of such an alias, to let:

- number + "Enter" view the corresponding file,
- "Enter" (only) be equivalent to 1 + "Enter", i.e. view the (normally)
  default file,
- anything else skip.

Is that possible?

All the best.

More information about the texdoc mailing list