Lines Matching defs:line
20 Reformat input to wordwrap at a given line length, preserving existing
23 -w WIDTH Maximum characters per line (default 75)
44 char *line;
47 // Flush line on EOF
51 for (line = *pline, idx = count = 0; isspace(line[idx]); idx++) {
52 if (line[idx]=='\t') count += 8-(count&7);
53 else if (line[idx]==' ') count++;
57 // Blank lines (even with same indentation) flush line
71 char *word = line+idx;
74 while (idx<len && !isspace(line[idx])) idx++;
75 line[idx++] = 0;
79 // When indenting a new line, preserve tab/space mixture of input
82 if (indent) printf("%.*s", indent, line);
86 while (isspace(line[idx])) idx++;