filter for unix pipes and streams