True, automatically added it for multiline match, but it is not used (no ^ or $). >>> trammell+tclug at el-swifto.com 05/06/04 10:49AM >>> On Thu, May 06, 2004 at 10:17:54AM -0500, Troy.A Johnson wrote: > so something like: > > s/\n{2,}/\n/gm > That /m doesn't do anything. See perlre for details. _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list