How do I append a ^M to the end of each 129 character string

Hello all,
I have a stumper of a problem. I am trying to append a ^M or "newline" to the end of each 129 character string in a huge file in unix.

Each string starts with A00.

I am trying to get the file to go from...
A00vswjdv1 Test Junk Junk A00vswjdv2 Test Junk Junk A00vswjdv3 Test Junk Junk

to look like....
A00vswjdv1 Test Junk Junk
A00vswjdv2 Test Junk Junk
A00vswjdv3 Test Junk Junk

Any help is greatly appreciated.

BTW. I am on a AIX box.

echo 'A00vswjdv1 Test Junk Junk A00vswjdv2 Test Junk Junk A00vswjdv3 Test Junk Junk' | awk 'gsub("A00", "\n&", $0)'

I apologize, the file is actually very long (Over 50MB). My example only showed a string of 3. The entire file is 1 long string going on for many occurances of the "A00...." data string.

The original post was intended as a hint.

awk 'gsub("A00", "\n&", $0)' myFile

YMMV depending on the your awk implementation.

Thank you. I will try it now and post again if it works.

-----Post Update-----

Command finished but I now find the strings do not all start with A00. They range from A00-A55.
The command did work for the A00 ones.

What a mess!

well...... you didn't say you had different strings signifying the start - GIGO

awk 'gsub("A[0-5][0-5]", "\n&", $0)' myFile

As this is not related to AIX i transfer it to the "Shell Programming and Scripting" section of the forum.

-push-

bakunin