debian man page for extract_usage_from_stx

Query: extract_usage_from_stx

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

extract_usage_from_stx()												  extract_usage_from_stx()

NAME
extract_usage_from_stx - extract "Usage:" messages from manpages written in Stx
SYNOPSIS
extract_usage_from_stx [ file file ... ]
DESCRIPTION
Process the given files, which should be manpages written in Stx, stripping away everything that is typically not included in a "Usage:" message. If no files are given, read standard input instead. A "Usage:" message is a message typically printed when a program is called with incorrect arguments or when help is specifically requested, for example with a --help command line option. A "Usage:" message is typically a subset of the information provided on a command's manual page. The information left in the "Usage:" message by extract_usage_from_stx includes: o the command synopsis, as given in the "SYNOPSIS" section o the command line options, as given in the "OPTIONS" section, together with the first sentence of their description. A sentence is taken to end at a period (.). The output of extract_usage_from_stx is still in Stx format, which you might want to further process to produce the actual "Usage:" mes- sage.
OPTIONS
--version, -V Just show version information and exit. --help, -? Just show a short help message and exit.
SEE ALSO
stx2any (1).
BUGS
The end-condition of a sentence is too strong.
AUTHOR
This manual page was written by Panu A. Kalliokoski. Panu A. Kalliokoski extract_usage_from_stx()
Related Man Pages
pod2usage(1) - redhat
stx2any(1) - debian
pod2usage(1) - x11r4
pod2usage5.12(1) - osx
pdl::pod::usage(3) - suse
Similar Topics in the Unix Linux Community
Alert When a Process Exceeds a CPU Utilization Limit...
system monitoring api
Extracting line from a file
print in incremental order a sentence
Normalizing files for sentence count