125 lines
4.0 KiB
HTML
125 lines
4.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PTX</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PTX</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ptx - produce a permuted index of file contents
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>ptx</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,INPUT/</I>]... <I>,(without -G)/</I>
|
|
<BR>
|
|
|
|
<B>ptx</B>
|
|
|
|
<I>,-G /</I>[<I>,OPTION/</I>]... [<I>,INPUT /</I>[<I>,OUTPUT/</I>]]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Output a permuted index, including context, of the words in the input files.
|
|
<P>
|
|
|
|
With no FILE, or when FILE is -, read standard input.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-A</B>, <B>--auto-reference</B><DD>
|
|
output automatically generated references
|
|
<DT id="2"><B>-G</B>, <B>--traditional</B><DD>
|
|
behave more like System V 'ptx'
|
|
<DT id="3"><B>-F</B>, <B>--flag-truncation</B>=<I>,STRING/</I><DD>
|
|
use STRING for flagging line truncations.
|
|
The default is '/'
|
|
<DT id="4"><B>-M</B>, <B>--macro-name</B>=<I>,STRING/</I><DD>
|
|
macro name to use instead of 'xx'
|
|
<DT id="5"><B>-O</B>, <B>--format</B>=<I>,roff/</I><DD>
|
|
generate output as roff directives
|
|
<DT id="6"><B>-R</B>, <B>--right-side-refs</B><DD>
|
|
put references at right, not counted in <B>-w</B>
|
|
<DT id="7"><B>-S</B>, <B>--sentence-regexp</B>=<I>,REGEXP/</I><DD>
|
|
for end of lines or end of sentences
|
|
<DT id="8"><B>-T</B>, <B>--format</B>=<I>,tex/</I><DD>
|
|
generate output as TeX directives
|
|
<DT id="9"><B>-W</B>, <B>--word-regexp</B>=<I>,REGEXP/</I><DD>
|
|
use REGEXP to match each keyword
|
|
<DT id="10"><B>-b</B>, <B>--break-file</B>=<I>,FILE/</I><DD>
|
|
word break characters in this FILE
|
|
<DT id="11"><B>-f</B>, <B>--ignore-case</B><DD>
|
|
fold lower case to upper case for sorting
|
|
<DT id="12"><B>-g</B>, <B>--gap-size</B>=<I>,NUMBER/</I><DD>
|
|
gap size in columns between output fields
|
|
<DT id="13"><B>-i</B>, <B>--ignore-file</B>=<I>,FILE/</I><DD>
|
|
read ignore word list from FILE
|
|
<DT id="14"><B>-o</B>, <B>--only-file</B>=<I>,FILE/</I><DD>
|
|
read only word list from this FILE
|
|
<DT id="15"><B>-r</B>, <B>--references</B><DD>
|
|
first field of each line is a reference
|
|
<DT id="16">
|
|
<B>-t</B>, <B>--typeset-mode</B> - not implemented -
|
|
<DT id="17"><B>-w</B>, <B>--width</B>=<I>,NUMBER/</I><DD>
|
|
<DD>output width in columns, reference excluded
|
|
<DT id="18"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="19"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by F. Pinard.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report ptx translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/ptx">https://www.gnu.org/software/coreutils/ptx</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) ptx invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="20"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="21"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="22"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="23"><A HREF="#lbAE">AUTHOR</A><DD>
|
|
<DT id="24"><A HREF="#lbAF">REPORTING BUGS</A><DD>
|
|
<DT id="25"><A HREF="#lbAG">COPYRIGHT</A><DD>
|
|
<DT id="26"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:25 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|