scozens@pwj.co.jp writes: > bash-2.03$ perl -lne 'print if /\b(\w+)\s+$1\b/' files.tex I see: you used $1 instead of \1. Then it is the same bug as one which Larry reported. You may want to apply the patch I sent a week ago nevertheless. http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1999-11/msg00025.html IlyaThread Previous | Thread Next