grep: maintain qfixwindow stack