Unanswered: Splitting a file into different strings.
I have a file with one message. That message has multiple lines and also contains different control characters (like ^A,^M). I want to split this message string into different substrings (unix shell variables) each consisting of 255 characters.
Please let me know how can i achieve this. Please see the below example string for details. ^A<abcdefghijklmnopqrstuvwxyz^M
This is very urgent and I am a beginner to unix shell scripts.