in reply to Re: How do I split a file into parts
in thread How do I split a file into parts

If you can stand putting the entire line with the delimiter in the new file, there's a quick and dirty version for this:
perl -pe 'BEGIN { $x = "aaa000"; } open STDOUT, ">".(++$x) if /XXFFDDF +/' <input >initial_output

-- Randal L. Schwartz, Perl hacker