perl -pe 'BEGIN { $x = "aaa000"; } open STDOUT, ">".(++$x) if /XXFFDDF +/' <input >initial_output
-- Randal L. Schwartz, Perl hacker
In reply to Re: Answer: How do I split a file into parts
by merlyn
in thread How do I split a file into parts
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |