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

Function align_column

src/pr.c:1749–1764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1747 when printing multiple files in parallel. */
1748
1749static void
1750align_column (COLUMN *p)
1751{
1752 padding_not_printed = p->start_position;
1753 if (col_sep_length < padding_not_printed)
1754 {
1755 pad_across_to (padding_not_printed - col_sep_length);
1756 padding_not_printed = ANYWHERE;
1757 }
1758
1759 if (use_col_separator)
1760 print_sep_string ();
1761
1762 if (p->numbered)
1763 add_line_number (p);
1764}
1765
1766/* Print one page.
1767

Callers 2

print_pageFunction · 0.85
read_lineFunction · 0.85

Calls 3

pad_across_toFunction · 0.85
print_sep_stringFunction · 0.85
add_line_numberFunction · 0.85

Tested by

no test coverage detected