My first guess is that a file is placed in the Input directory that doesn't match your regular expression, and as long as that is true, B is going to continue to be printed. Why it might "pull out" when you hit control-C, I couldn't say...
-Scott
In reply to Re: Caught in a loop
by 5mi11er
in thread Caught in a loop
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |