in reply to Re: how to split string(many words in one line) in a word?
in thread how to split string(many words in one line) in a word?

Does this smell like the start of an obfu/golf contest? Maybe so!

echo "The quick brown (it's a slightly reddish brown) fox jumps over t +he lazy dog" \ | perl -nle '$"="\n";print"@{[split]}"'

Update:

echo "The quick brown (it's a slightly reddish brown) fox jumps over t +he lazy dog" \ | perl -ple 's/\s+/\n/g'