Page MenuHomeFreeBSD

Bug 235946 - column(1): Fill order (with/without -x) is incorrectly documented
Needs ReviewPublic

Authored by bcr on Oct 6 2023, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 12:27 PM
Unknown Object (File)
Nov 2 2025, 11:29 PM
Unknown Object (File)
Nov 2 2025, 4:41 AM
Unknown Object (File)
Oct 21 2025, 2:46 PM
Unknown Object (File)
Oct 21 2025, 2:46 PM
Unknown Object (File)
Oct 21 2025, 2:37 AM
Unknown Object (File)
Oct 14 2025, 1:18 AM
Unknown Object (File)
Oct 13 2025, 1:31 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Taken from the PR PR 235946, a comment in column.c says:

+/*
+ * Note that c_columnate() and r_columnate() are misleadingly named: the former
+ * fills *rows* first and the latter fills *columns* first. The original names
+ * are kept here only for historical reasons.
+ */

The patch fixes this.

Note: I'm not sure whether we need the CAVEATS section addition, but maybe because of the historic reasons mentioned above, it would make sense.

Test Plan
  1. Apply the patch to usr.sbin/column/column.1
  2. Check the output
  3. Comment or approve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped