SirHammer1
Technical User
Hello Gurus!
I have a large text file comprised of multiple biographies that I need to split up into separate files for each biography. The only consistent pattern is a label like ABCD: on the last line of the bio, i.e.
John Doe
Forestry Service
Somewhere, Nebraska
ABCD: 321
Jane Hoe:
Research Dept.
ABCD: 456
There are blank lines mingled with some records, so I have to key on the ABCD. Any help would be greatly appreciated, my AWK skills are really old!
Thanks,
SirHammer
I have a large text file comprised of multiple biographies that I need to split up into separate files for each biography. The only consistent pattern is a label like ABCD: on the last line of the bio, i.e.
John Doe
Forestry Service
Somewhere, Nebraska
ABCD: 321
Jane Hoe:
Research Dept.
ABCD: 456
There are blank lines mingled with some records, so I have to key on the ABCD. Any help would be greatly appreciated, my AWK skills are really old!
Thanks,
SirHammer