MCPcopy Create free account
hub / github.com/coreutils/coreutils / dump_rest_of_file

Function dump_rest_of_file

src/csplit.c:652–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650/* Output any lines left after all regexps have been processed. */
651
652static void
653dump_rest_of_file (void)
654{
655 struct cstring *line;
656
657 while ((line = remove_line ()) != NULL)
658 save_line_to_file (line);
659}
660
661/* Handle an attempt to read beyond EOF under the control of record P,
662 on iteration REPETITION if nonzero. */

Callers 3

regexp_errorFunction · 0.85
process_regexpFunction · 0.85
split_fileFunction · 0.85

Calls 2

remove_lineFunction · 0.85
save_line_to_fileFunction · 0.85

Tested by

no test coverage detected