Lines Matching full:line
32 char line[1024], *c, *bra, manuf[8]; in main() local
45 while (fgets(line, sizeof(line)-1, stdin)) { in main()
47 if ((c = strchr(line, '\n'))) in main()
49 if (!line[0] || line[0] == '#') in main()
51 if (line[0] == '\t') { in main()
54 if (strlen(line) > 5 && line[5] == ' ') { in main()
55 c = line + 5; in main()
64 fprintf(stderr, "Line %d: Product name too long\n", lino); in main()
68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
76 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
77 c = line + 4; in main()
83 strcpy(manuf, line); in main()
86 fprintf(stderr, "Line %d: manufacturer name too long\n", lino); in main()
95 fprintf(stderr, "Line %d: Syntax error in mode %d: %s\n", lino, mode, line); in main()