OSDir


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

Generate a static back-of-a-book style index?


On 07Jul2018 20:11, Skip Montanaro <skip.montanaro at gmail.com> 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 <cs at cskk.id.au>