Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hyphen(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mm, checkmm

nroff, troff



HYPHEN(1,C)                 AIX Commands Reference                  HYPHEN(1,C)



-------------------------------------------------------------------------------
hyphen



PURPOSE

Finds hyphenated words.

SYNTAX


          +--------+
hyphen ---|        |---|
        ^ +- file -+ |
        +------------+


Note:  This command does not have MBCS support.

DESCRIPTION

The hyphen command reads the input files (standard input, by default), finds
all the lines ending with hyphenated words, and writes those words to standard
output.  A word is considered hyphenated only if the hyphen occurs at the end
of a line.  The hyphen command reads standard input if you do not specify any
file names on the command line.

Note:  The hyphen command cannot handle hyphenated italicized words.  It also
       sometimes gives unnecessary output.

EXAMPLES

  1. To check the way words are hyphenated in a text file:

      hyphen  chap1

    This command lists the words in "chap1" that are hyphenated at the end of a
    line.

  2. To check the hyphenation performed by a text formatting program:

      mm  chap1  |  hyphen

    This command lists the words that the nroff command decides to hyphenate
    across lines.

RELATED INFORMATION

See the following commands:  "mm, checkmm" and "nroff, troff."





Processed November 8, 1990        HYPHEN(1,C)                                 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026