Try a large file full of lines that are a few thousand characters long on average and see if the substr solution isn't getting slowed down...
In reply to Re (tilly) 5: how do I line-wrap while copying to stdout?
by tilly
in thread how do I line-wrap while copying to stdout?
by ams
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |