hm, if I add
no warnings "numeric";
to the flip-flop code, the output seems to be fine.
output all lines after "alpha". at least that's how I understood the task.
Comment on Re^4: A way to avoid repeated conditional loops
The OP code has an else condition on the match for alpha. That should execute for every line of the file except the 'alpha', regardless of before or after.