Lines Matching full:line
16 // This is not a full-featured grep program. The command line options
34 // The following variables contain paramters that may be set from the command line.
55 // Info regarding the line currently being processed
57 int lineStart; // Index of first char of the current line in the file buffer
58 int lineEnd; // Index of char following the new line sequence for the current line
92 // Process the commmand line options.
164 // doOptions Run through the command line options, and set
189 else if(strcmp(arg, "-n") == 0 || strcmp(arg, "--line-number") == 0) {
247 "-n, --line-number Prefix each line of output with the line number within its input file.\n"
365 // nextLine Advance the line index variables, starting at the
367 // scanning forwrd until the next end-of-line.
370 // line ending sequences.
387 if (c == 0x0a || // Line Feed
390 c == 0x85 || // Next Line
391 c == 0x2028 || // Line Separator
410 // printMatch Called when a matching line has been located.
411 // Print out the line from the file with the match, after
429 // Convert the line to be printed back to the default 8 bit code page.
430 // If the line is too long for our buffer, just truncate it.