addpattern
static void addpattern(char *s);
addpattern(pattern_list[i]);
addpattern(argv[1]);
addpattern(inbuf);