in message <[EMAIL PROTECTED]>,
wrote Warren Block thusly...
>
> ...sed on other systems does handle \n and other literals in
> substitutions. It's annoying enough that I just use Perl instead.
>
> perl -pe 's/ /\n/g' my_test_text_document.txt
>
> which actually would be better as
>
> perl -pe 's/\s./\n/g' my_test_text_document.txt
^
^
Why do you have '.' after '\s'? Did you mean '+' instead?
- Parv
--
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"