On Mon, 15 Mar 2004, Parv wrote: > in message <20040314164347.X35552 at wonkity.com>, > wrote Warren Block thusly... > > > > perl -pe 's/\s./\n/g' my_test_text_document.txt > ^ > ^ > > Why do you have '.' after '\s'? Did you mean '+' instead? Oops--you're correct. \s+ for one or more whitespace characters. -Warren Block * Rapid City, South Dakota USA