This IS kind of linked to another question - http://stackoverflow.com/questions/3171552/code-golf-color-highlighting-of-repeated-text
I'm tying to figure out a way of breaking a file into all 'n' characters long groups.
Eg: If a file comprises of ONLY the following text:
ABCDEFGHIJ
And we want it broken into sets of 3, the output should be:
ABC
BCD
CDE
DEF
EFG
FGH
GHI
HIJ
No characters in the file are to be treated any differently from another. ie, a "space" is just another character which should follow the rule above...