On Mon, 15 Mar 2004, Parv wrote: > in message <[EMAIL PROTECTED]>, > 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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"