A command line tool that call the given command for each input line matching the given regular expression pattern.