Takes stdin or file and outputs comma seperated list of results based on regex filter. Usage: cat file_to_process | test ./regex_file or: test ./regex_file ./file_to_process