DW 1L "08 April 1991"

Table of contents


DW 1L "08 April 1991"

NAME

dw - find duplicate words

SYNOPSIS

dw < infile >outfile

dw filters its standard input, printing on standard output only those words which appear twice in succession. Each word is prefixed by its line number(s).

A word starts with a letter or underscore, and is followed by zero or more letters, underscores, or digits. Letter case is ignored.

This is a handy tool for finding a common typographical error in documentation.

Its other purpose is to demonstrate a reasonably short lex(1) program.


SEE ALSO

awk(1), lex(1).

AUTHOR

Nelson H. F. Beebe, Ph.D.

Center for Scientific Computing

Department of Mathematics

South Physics Building

University of Utah

Salt Lake City, UT 84112

Tel: (801) 581-5254

FAX: (801) 581-4148

Email: <beebe@science.utah.edu>