This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Ptx" Unix – news ·newspapers ·books ·scholar ·JSTOR(September 2018) (Learn how and when to remove this message) |
| ptx | |
|---|---|
| Operating system | Unix andUnix-like |
| Platform | Cross-platform |
| Type | Command |
ptx is aUnix utility, named after thepermuted index algorithm which it uses to produce a search or concordance report in theKeyword in Context (KWIC) format. It is available on most Unix and Unix-like operating systems (e.g.Linux,FreeBSD). TheGNU implementation[1] uses extensions that are more powerful than the olderSysV implementation.The command is available as a separate package forMicrosoft Windows as part of theUnxUtils collection ofnativeWin32ports of common GNU Unix-like utilities.[2]
There is also a correspondingIBM mainframe utility which performs the same function. Permuted indexes are often used in such places as bibliographic or medical databases, documentation,thesauri, or web sites to aid in locating entries of interest.