On 07Jul2018 20:11, Skip Montanaro <[email protected]> wrote:
Have you looked at the ptx command? Might be called "gptx" on a system with the
GNU coreutils installed with "g" prefixes.

Thanks, Cameron. I was unaware of it. Will check it out.

BTW, it well predates the GNU coreutils; I used it on V7 UNIX. Nicely, it includes the surrounding words in the index output for context, makes for a far more usable index listing. You may need to postprocess the output to fit your needs.

Cheers,
Cameron Simpson <[email protected]>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to