Proofreading documents with awk

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Sat Dec 16 14:40:52 AEST 1989


In article <25 at meme.stanford.edu> heit at psych.Stanford.EDU (Evan Heit) writes:
: I am looking for someone who has written a program in awk that will
: will allow me to proofread my papers by by looking for word repetitions.

How about filtering through

    tr -cs "A-Za-z" "\012" | uniq -d

(Sys V'ers will have to make that [A-Z][a-z]).

I sincerely doubt that any awk (or perl) solution will do as well.

Larry Wall
lwall at jpl-devvax.jpl.nasa.gov



More information about the Comp.unix.questions mailing list