[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2

hyphen Command

Purpose

Finds hyphenated words.

Syntax

hyphen [ File ... ]

Description

The hyphen command reads one or more English-language files, finds all the lines ending with hyphenated words, and writes those words to standard output. The parameter File specifies English-language files to be read by the hyphen command. The default is standard input. If no file is specified or if the - (hyphen) is specified as the last file name, the hyphen command reads standard input. The hyphen command can be used as a filter.

Note: The hyphen command cannot read hyphenated words that are italic or underlined. The hyphen command sometimes gives unnecessary output.

Examples

To check the hyphenation performed by a text-formatting program on a file, enter:

mm [Flag...] [File...] | hyphen

Related Information

The mm command, troff command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]