So let's see how can we do this: trim the text width within a certain value, say, 10. For lines longer than 10, break it into multiple lines.
Example: A text file:
01234567 01234567890123456789abcd 0123
should be changed to:
01234567 0123456789 0123456789 abcd 0123
So how can we do it using sed or awk as short as possible?