Hi, how do I do the following in BSD sed?
sed 's/ /\n/g'
The man page says that \ n will be processed literally in the replacement string, how can I avoid this behavior? Is there an alternative?
I am using Mac OS Snow Leopard, I can install fink to get GNU sed.
regex bsd sed
Brett Ryan Sep 14 '09 at 13:13 2009-09-14 13:13
source share